From be0c1e196478784babe32378aa8c3edc7f06e289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 27 Apr 2017 15:27:09 +0200 Subject: [PATCH] tests: Avoid creating unused temporary files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lubomír Sedlář --- tests/test_imagechecksumphase.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_imagechecksumphase.py b/tests/test_imagechecksumphase.py index 7a395647..33e843e8 100644 --- a/tests/test_imagechecksumphase.py +++ b/tests/test_imagechecksumphase.py @@ -242,7 +242,6 @@ class TestImageChecksumPhase(PungiTestCase): class TestChecksums(unittest.TestCase): def setUp(self): - _, name = tempfile.mkstemp() self.tmp_dir = tempfile.mkdtemp() def tearDown(self): @@ -265,7 +264,6 @@ class TestChecksums(unittest.TestCase): class TestDumpFilesizes(unittest.TestCase): def setUp(self): - _, name = tempfile.mkstemp() self.tmp_dir = tempfile.mkdtemp() def tearDown(self):