summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 1f6499c..fe50e0c 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -53,7 +53,7 @@ class TemporaryFileTests(unittest.TestCase):
self.check_tempfile(name)
name = os.tempnam(test_support.TESTFN, "pfx")
- self.assert_(os.path.basename(name)[:3] == "pfx")
+ self.assertEqual(os.path.basename(name)[:3], "pfx")
self.check_tempfile(name)
def test_tmpfile(self):