Pollution test cases #1559
Labels
Bug 馃
High effort 馃弸
Difficult solution or problem to solve
Maintenance
Discussion or action around maintaining astroid or the dev workflow
Milestone
While debugging #1551, I used dectect-test-pollution to isolate the test case.
The tool does have a fuzzy mode which can find other pollution test cases. Unfortunately, it didn't even make it past round
1
馃槙It seems like our test suite doesn't clean up properly and is somewhat reliant on a global state. For now it's fine to continue as is though, at some point, these issues might come back to haunt us.
Install
Run with (Python 3.10)
If someone would like to take a look, that would be greatly appreciated 馃檹馃徎
/CC: @jacobtylerwalls and @DanielNoord I saw you two worked on caching recently, maybe this is something you could take a look at?
/CC: @Pierre-Sassoulas
--
The first case I saw
Failing test:
tests/unittest_brain.py::TestIsinstanceInference::test_isinstance_int_true
Pollution test:
tests/unittest_manager.py::ClearCacheTest::test_brain_plugins_reloaded_after_clearing_cache
The text was updated successfully, but these errors were encountered: