-
Notifications
You must be signed in to change notification settings - Fork 51
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: test coverage #183
chore: test coverage #183
Conversation
boa/ipython.py
Outdated
@@ -23,6 +23,7 @@ def deployer(self, line, cell): | |||
if line: | |||
self.shell.user_ns[line] = c # ret available in user ipython locals | |||
_contracts[line] = c # ret available in boa.ipython._contracts | |||
global _ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, otherwise the tests fail:
titanoboa/tests/unitary/test_ipython.py
Line 23 in 0a8640f
assert deployer is boa.ipython._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm not really sure we need the boa.ipython._
thing btw, since ipython already has the global _
thing working. i don't really see anybody use it, so maybe we could remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 3 months later 🥳 🤣 |
What I did
Cute Animal Picture