summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-07-17 21:56:01 (GMT)
committerFred Drake <fdrake@acm.org>2001-07-17 21:56:01 (GMT)
commit1f4cc897f8db0d96126ca5d85819263c01582555 (patch)
tree8ec411f94ccac301f3673e753b7a1835bc575bd0 /Lib/test/test_os.py
parent817ed5a750ad7830f60e84151a2f30b6828712a8 (diff)
downloadcpython-1f4cc897f8db0d96126ca5d85819263c01582555.zip
cpython-1f4cc897f8db0d96126ca5d85819263c01582555.tar.gz
cpython-1f4cc897f8db0d96126ca5d85819263c01582555.tar.bz2
Remove a couple of lines from the test that proved not to be portable to
all platforms that offer tempnam().
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 0 insertions, 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)