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 hashes)
Built Distribution
Close
Hashes for eqassertions-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b1ae8469e618d5cbd8fd72b52aab55b6669713d6d02a81317ef5341b774d3a1 |
|
MD5 | b39697b91008eef62528e7fecfc402c0 |
|
BLAKE2b-256 | 6de6f4fe2fc3c37227ba54f6bb6dcb57dbc023da827b63f781258991c70cb493 |