summaryrefslogtreecommitdiff
path: root/Lib/test/test_macpath.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-07-11 12:20:59 +0000
committerGuido van Rossum <guido@python.org>2007-07-11 12:20:59 +0000
commite61fd5b5ed9d677da2f3349078d7f66f707199de (patch)
treee28a7630ed3c285eabc7631f4276a2b06e74682b /Lib/test/test_macpath.py
parentc9b9de17976a4832f505309b1096f9a7582c7be9 (diff)
downloadcpython-git-e61fd5b5ed9d677da2f3349078d7f66f707199de.tar.gz
Patch by Christian Heimes to change self.assert_(x == y) into
self.assertEqual(x, y). (Christian used self.failUnlessEqual(), but the double negative makes it hard to grok, so I changed it.)
Diffstat (limited to 'Lib/test/test_macpath.py')
-rw-r--r--Lib/test/test_macpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_macpath.py b/Lib/test/test_macpath.py
index 2449b0a1fb..9d363758c8 100644
--- a/Lib/test/test_macpath.py
+++ b/Lib/test/test_macpath.py
@@ -6,7 +6,7 @@ import unittest
class MacPathTestCase(unittest.TestCase):
def test_abspath(self):
- self.assert_(macpath.abspath("xx:yy") == "xx:yy")
+ self.assertEqual(macpath.abspath("xx:yy"), "xx:yy")
def test_isabs(self):
isabs = macpath.isabs