Skip to main content

pytest-unordered

Test equality of unordered sequences of unhashable items.

Installation

pip install pytest-unordered

Usage

from pytest_unordered import unordered

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

Metadata

Release files for pytest-unordered 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-unordered 0.1.0
File Size Uploaded
pytest-unordered-0.1.0.zip 5.0 kB Details

Release files / pytest-unordered-0.1.0.zip

Download URL pytest-unordered-0.1.0.zip
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
afe7fb8cc1854e925241f9aa15fb73dfa732311c4ce1c6948c2cc189c55f9d3f
BLAKE2b-256 checksum
How to use checksums
07cdf6ea6fcfc25c9000464ec14104f0e8d46b526e3338d99eb3592f7bd2a9ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.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

Release history Release notifications | RSS feed

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page