mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-25 13:10:33 +08:00
TST: Fixes modelling test tearDown
This commit is contained in:
@@ -105,6 +105,7 @@ class FFCAlgorithmTestCase(TestCase):
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
del cls.env
|
||||
cls.tempdir.cleanup()
|
||||
|
||||
@classmethod
|
||||
def create_bar_reader(cls, tempdir):
|
||||
@@ -151,10 +152,6 @@ class FFCAlgorithmTestCase(TestCase):
|
||||
writer.write(splits, mergers, dividends)
|
||||
return SQLiteAdjustmentReader(dbpath)
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
cls.tempdir.cleanup()
|
||||
|
||||
def make_source(self):
|
||||
return Panel(self.raw_data).tz_localize('UTC', axis=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user