Features assertion pass hook (#3479)

Features assertion pass hook
This commit is contained in:
Bruno Oliveira
2019-06-26 21:14:19 -03:00
committed by GitHub
11 changed files with 301 additions and 41 deletions

View File

@@ -202,6 +202,9 @@ class TestRaises:
assert sys.exc_info() == (None, None, None)
del t
# Make sure this does get updated in locals dict
# otherwise it could keep a reference
locals()
# ensure the t instance is not stuck in a cyclic reference
for o in gc.get_objects():