equals
equals copied to clipboard
Fuzzy equality objects for testing, a stricter version of Mock.Any.
Everything's in the title :)
`datetime(2015,3,2) == instance_of(datetime)` fails because the datetime library is bad at implementing equality. Let's use some super python hacks to figure out how datetime equality is implemented and create a...
`datetime(2015,3,2) == instance_of(datetime)` fails because the datetime library is bad at implementing equality. `instance_of(datetime) == datetime(2015,3,2)` succeeds. `instance_of(TestClass).with_attrs(datetime_attr=instance_of(datetime))` fails, let's try equality both ways to make this succeed.
Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7. Release notes Sourced from idna's releases. v3.7 What's Changed Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time...
Bumps [black](https://github.com/psf/black) from 23.9.1 to 24.3.0. Release notes Sourced from black's releases. 24.3.0 Highlights This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black...
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. Release notes Sourced from jinja2's releases. 3.1.4 This is the Jinja 3.1.4 security release, which fixes security issues and bugs but does not otherwise...
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.7 to 2.2.2. Release notes Sourced from urllib3's releases. 2.2.2 🚀 urllib3 is fundraising for HTTP/2 support urllib3 is raising ~$40,000 USD to release HTTP/2 support and...
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.0. Release notes Sourced from requests's releases. v2.32.0 2.32.0 (2024-05-20) 🐍 PYCON US 2024 EDITION 🐍 Security Fixed an issue where setting verify=False on the...
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0. Release notes Sourced from urllib3's releases. 2.6.0 🚀 urllib3 is fundraising for HTTP/2 support urllib3 is raising ~$40,000 USD to release HTTP/2 support and...