-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: wheel not required for setuptools PEP 517 (all-repos) #79
Conversation
@aryan26roy, dropping The test failed because of numerical precision. I wrapped everything in |
This seems to be trying to run |
I fixed that once. (Or something like that.) I'll look at it again now. |
Oh, and you can run approx on dicts, just not anything deeper. >>> {"one": 1.1+1e-12, "two": 2.2+1e-12} == pytest.approx({"one": 1.1, "two": 2.2})
True
>>> [{"one": 1.1+1e-12, "two": 2.2+1e-12}] == pytest.approx([{"one": 1.1, "two": 2.2}])
False The case that's failing in the tests is a list of dict (like above). |
I think I have done this before, because the quick fix of deepening everything with list comprehensions with dummy variables (In fact, they could implement |
I think you are looking for dirty-equals? |
Let's get this in to un-break things. |
Committed via https://github.com/asottile/all-repos