From 1f4cc897f8db0d96126ca5d85819263c01582555 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 17 Jul 2001 21:56:01 +0000 Subject: Remove a couple of lines from the test that proved not to be portable to all platforms that offer tempnam(). --- Lib/test/test_os.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 59a2af6..c1889e1 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -32,11 +32,9 @@ class TemporaryFileTests(unittest.TestCase): self.check_tempfile(os.tempnam()) name = os.tempnam(TESTFN) - self.assert_(os.path.dirname(name) == TESTFN) self.check_tempfile(name) name = os.tempnam(TESTFN, "pfx") - self.assert_(os.path.dirname(name) == TESTFN) self.assert_(os.path.basename(name)[:3] == "pfx") self.check_tempfile(name) -- cgit v0.12