summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future4.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-30 22:57:08 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-06-30 22:57:08 (GMT)
commit5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e (patch)
tree41f38aca16748628d53906337f06fdf087f52314 /Lib/test/test_future4.py
parentbe96cf608fa656d7e53144cf85082ed5661e8c13 (diff)
downloadcpython-5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e.zip
cpython-5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e.tar.gz
cpython-5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e.tar.bz2
convert usage of fail* to assert*
Diffstat (limited to 'Lib/test/test_future4.py')
-rw-r--r--Lib/test/test_future4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_future4.py b/Lib/test/test_future4.py
index 2580c55..53f8add 100644
--- a/Lib/test/test_future4.py
+++ b/Lib/test/test_future4.py
@@ -5,7 +5,7 @@ from test import test_support
class TestFuture(unittest.TestCase):
def assertType(self, obj, typ):
- self.assert_(type(obj) is typ,
+ self.assertTrue(type(obj) is typ,
"type(%r) is %r, not %r" % (obj, type(obj), typ))
def test_unicode_strings(self):