-
Notifications
You must be signed in to change notification settings - Fork 386
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
Remove dependency on mock and testfixtures #279
Comments
Replacing Removing the dependency on
the result of which is
which does not show clearly the difference between the two notebooks... |
Hello @mwouts You are right. It is clearly feasible to rely on unittest.mock to avoid depending on mock when running jupytext under python3, but we should not remove the dependency to testfixtures due to the usage you have of the compare method. Anyway, thanks for the feedback, I just got time last week end to write changes for the mock package. I'll open the PR soon. |
Finally I was able to implement a replacement for @jsd-spif , are you ok if I merge the corresponding PR now, or do you prefer to contribute your PR first? |
That was suggested by @jsd-spif:
mock
is available asunittest.mock
in Python 3, so we don't need a dependency onmock
.Similarly,
testfixtures.compare
could probably be replaced withassertDictEqual
fromunittest
.The text was updated successfully, but these errors were encountered: