|
@ -70,10 +70,8 @@ class TestConvert(unittest.TestCase, metaclass=dynamic.DynamicTest): |
|
|
with logging_reduced(): |
|
|
with logging_reduced(): |
|
|
if os.path.exists(destname): |
|
|
if os.path.exists(destname): |
|
|
os.remove(destname) |
|
|
os.remove(destname) |
|
|
self.assertEqual( |
|
|
with self.assertRaises(Exception): |
|
|
self._system(main, args + [in_format, out_format, sourcename]), |
|
|
self._system(main, args + [in_format, out_format, sourcename]) |
|
|
1, |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
@staticmethod |
|
|
@staticmethod |
|
|
@contextlib.contextmanager |
|
|
@contextlib.contextmanager |
|
|