assertions in __eq__methods
Project description
assertions in __eq__ methods.
>>> data = {"a": 1, "b": 2} >>> assert {"a": 1, "b": Any()} >>> assert {"a": 1, "b": NotNone()} >>> assert {"a": 1, "b": IsA(int)} >>> assert {"a": 1, "b": IsTrue()}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eqassertions-0.1.1.tar.gz
(1.1 kB
view details)
Built Distribution
File details
Details for the file eqassertions-0.1.1.tar.gz
.
File metadata
- Download URL: eqassertions-0.1.1.tar.gz
- Upload date:
- Size: 1.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade33bd52377cd043cd375efe76214248da04d031c19a6380d300d43bbaae21c |
|
MD5 | 98d43f8efaec390a7c72bf7ef4f93262 |
|
BLAKE2b-256 | 22fc528f73ba8f3276739d3f900b7dd8aac1eff47b89f643ac56ef636359d36c |
File details
Details for the file eqassertions-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: eqassertions-0.1.1-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b1ae8469e618d5cbd8fd72b52aab55b6669713d6d02a81317ef5341b774d3a1 |
|
MD5 | b39697b91008eef62528e7fecfc402c0 |
|
BLAKE2b-256 | 6de6f4fe2fc3c37227ba54f6bb6dcb57dbc023da827b63f781258991c70cb493 |