mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-11 12:00:50 +08:00
TST: Adds tearDownClass methods to delete TradingEnvironments
This commit is contained in:
@@ -41,6 +41,10 @@ class SerializationTestCase(TestCase):
|
||||
def setUpClass(cls):
|
||||
cls.env = TradingEnvironment()
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
del cls.env
|
||||
|
||||
@parameterized.expand(object_serialization_cases())
|
||||
def test_object_serialization(self,
|
||||
_,
|
||||
|
||||
Reference in New Issue
Block a user