Skip to main content

pytest-unordered

Build Status Coverage Status

Test equality of unordered collections in pytest.

Installation

pip install pytest-unordered

Usage

from pytest_unordered import unordered

def test_unordered():
    assert [3, 2, {1: ['b', 'a']}] == unordered({1: unordered('a', 'b')}, 2, 3)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-unordered-0.3.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_unordered-0.3.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file pytest-unordered-0.3.0.tar.gz.

File metadata

  • Download URL: pytest-unordered-0.3.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for pytest-unordered-0.3.0.tar.gz
Algorithm Hash digest
SHA256 365abb4e23506a52350a0ff9d7afff70188473d9725d7822f70ecdcfa1c8ea5e
MD5 f0adceb67a01cb2394e377b0081c4512
BLAKE2b-256 0dfeca893cdefe7fe32d35abc8137dabfa98dcc028c7dcd8d4717df8970ec62f

See more details on using hashes here.

File details

Details for the file pytest_unordered-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pytest_unordered-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for pytest_unordered-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a21950eff6da192164a7c4f234de1eb50005855d67bbe9cc46070c7f26886bc
MD5 d4c6263677cb8c9ad0f3a40c1df96801
BLAKE2b-256 438669652aa39de4346b35f364a4d6cad9af2b30efff319939d43af4be2b1894

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.0

2 files

0.7.0

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page