コード例 #1
0
ファイル: local_target_test.py プロジェクト: spotify/luigi
 def test_destructor(self):
     # LocalTarget might not be fully initialised if an exception is thrown in the constructor of LocalTarget or a
     # subclass. The destructor can't expect attributes to be initialised.
     t = LocalTarget(is_tmp=True)
     del t.is_tmp
     t.__del__()