This commit is contained in:
Paul Gauthier 2023-07-23 10:31:59 -03:00
parent f6e5f4c539
commit e52807b868

View file

@ -25,10 +25,7 @@ class TestCommands(TestCase):
def tearDown(self):
os.chdir(self.original_cwd)
try:
shutil.rmtree(self.tempdir)
except OSError:
pass # Ignore errors (Windows)
shutil.rmtree(self.tempdir, ignore_errors=True)
def test_cmd_add(self):
# Initialize the Commands and InputOutput objects