Skip to content

Commit

Permalink
FilePrinterTest: Remove temporary files
Browse files Browse the repository at this point in the history
  • Loading branch information
sils committed Feb 3, 2015
1 parent ece436b commit 2267567
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions coalib/tests/output/printers/FilePrinterTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ def setUp(self):
os.close(handle) # We don't need the handle provided by mkstemp
self.uut = FilePrinter(self.filename)

def tearDown(self):
os.remove(self.filename)

def test_construction(self):
self.assertRaises(TypeError, FilePrinter, 5)

Expand Down

0 comments on commit 2267567

Please sign in to comment.