[mypyc] Add test for incremental builtin_base class construction across groups#21524
[mypyc] Add test for incremental builtin_base class construction across groups#21524georgesittas wants to merge 2 commits into
Conversation
|
can i get instructions how to reproduce the original issue? i checked out the parent of the merge commit of #21369 and cherry-picked this test but |
|
Ah, it seems like the test framework only treats files matching I missed this and named the helper files Sorry for the confusion. Feel free to give it another shot; I also verified that the test fails in the parent commit and should pass in this PR. |
The fix for this was included in #21369, but no dedicated test was added.
This adds
testIncrementalBuiltinBaseClassConstructiontorun-multimodule.test: three modules compiled withseparate=True, where step 2 changes a helper module's signature to force the caller to be recompiled while the exception module is only loaded from cache.