This commit is contained in:
@@ -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