From: Fred Drake Date: Tue, 17 Jul 2001 21:56:01 +0000 (+0000) Subject: Remove a couple of lines from the test that proved not to be portable to X-Git-Tag: v2.2a3~1086 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f4cc897f8db0d96126ca5d85819263c01582555;p=thirdparty%2FPython%2Fcpython.git Remove a couple of lines from the test that proved not to be portable to all platforms that offer tempnam(). --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 59a2af6317f4..c1889e164e94 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)