Test equality of unordered sequences of unhashable items
Project description
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])
Project details
Release history Release notifications | RSS feed
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.1.0.zip
(5.0 kB
view details)
File details
Details for the file pytest-unordered-0.1.0.zip
.
File metadata
- Download URL: pytest-unordered-0.1.0.zip
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe7fb8cc1854e925241f9aa15fb73dfa732311c4ce1c6948c2cc189c55f9d3f |
|
MD5 | 707c9db2902e5d1166f7000e15b23b09 |
|
BLAKE2b-256 | 07cdf6ea6fcfc25c9000464ec14104f0e8d46b526e3338d99eb3592f7bd2a9ce |