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 59a2af6..c1889e1 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -32,11 +32,9 @@
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)