Skip to content
Prev Previous commit
Next Next commit
Add test cleanup to test_external
  • Loading branch information
erlend-aasland committed Jul 23, 2023
commit ff6a33ccae5d8fa8ef160f45257c07b1036eada8
1 change: 1 addition & 0 deletions Lib/test/test_clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,7 @@ def test_external(self):
orig_contents = f.read()

# Run clinic CLI and verify that it does not complain.
self.addCleanup(unlink, TESTFN)
out = self.expect_success("-f", "-o", TESTFN, source)
self.assertEqual(out, "")

Expand Down