Originally reported by: Brian Lane (BitBucket: bcl, GitHub: bcl)
I ran into a couple of test failures:
LoadModuleFromPathTest was failing on the 2nd pass because sys.just_once had been deleted.
In AstroidManagerTest there may be other hooks already present, so deleting 0 isn't correct. Removing -1 would likely work, but we may as well just look up the index and use that.
Originally reported by: Brian Lane (BitBucket: bcl, GitHub: bcl)
I ran into a couple of test failures:
LoadModuleFromPathTest was failing on the 2nd pass because sys.just_once had been deleted.
In AstroidManagerTest there may be other hooks already present, so deleting 0 isn't correct. Removing -1 would likely work, but we may as well just look up the index and use that.