This commit is contained in:
1 parent
d4410ab555
commit
856cf879e8
1 file changed
+2
-4
@@ -7,11 +7,9 @@ from slic.utils.get_adj import *
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def cleanup_adjustables():
|
||||
instances(SubAdjustable).clear()
|
||||
instances(Adjustable).clear()
|
||||
instances(Adjustable, weak=True).clear()
|
||||
yield
|
||||
instances(SubAdjustable).clear()
|
||||
instances(Adjustable).clear()
|
||||
instances(Adjustable, weak=True).clear()
|
||||
|
||||
class SubAdjustable(Adjustable):
|
||||
def __init__(self, *a, **kw):
|
||||
|
||||
Reference in new issue
Block a user