-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Fixes to the new registration #2771
Conversation
Remove old tests
For the bugs that were found, is it possible to add tests for them to prevent such bugs from happening again? |
Could you also explain how this function Line 223 in dcae553
is supposed to be used? |
Is |
That's out of scope for this, it was introduced by @JesseFarebro a while ago, and by now I think I mostly understand what it does, and it does desperately need documentation (which I'll probably have to discuss with Jesse), but it's mostly orthogonal from these updates. |
My approach here was to keep it "mostly compatible for reasonable uses", which is as vague as it sounds.
That being said, it is the exact equivalent of |
I'll try to add some tests soon |
I added a test, ultimately the main issue was around handling the namespace context manager, which is in practice only used in ALE so far, and tests don't cover that. So the test does a basic sanity check that the namespace gets added the way we want it to be. |
LGTM @jkterry1 |
Update to #2748, turns out a few comments from @Markus28 didn't show up, and some of them actually pointed out bugs, so it's necessary to get them fixed.