summaryrefslogtreecommitdiff
path: root/tests/test_cmd.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-30 23:06:06 +0000
committerBenjamin Peterson <benjamin@python.org>2009-06-30 23:06:06 +0000
commitd42774082d0532c78405d5b46f7d9896efcfb7a6 (patch)
treefc5cfae03f8d3596f26841f15eb3d989933e4d72 /tests/test_cmd.py
parent836436ecd7283a03864110e8aa71505605eb346b (diff)
downloadpython-setuptools-git-d42774082d0532c78405d5b46f7d9896efcfb7a6.tar.gz
convert old fail* assertions to assert*
Diffstat (limited to 'tests/test_cmd.py')
-rw-r--r--tests/test_cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmd.py b/tests/test_cmd.py
index 8f2b36fb..d6438b5e 100644
--- a/tests/test_cmd.py
+++ b/tests/test_cmd.py
@@ -70,7 +70,7 @@ class CommandTestCase(unittest.TestCase):
cmd.option2 = None
cmd.ensure_string('option2', 'xxx')
- self.assert_(hasattr(cmd, 'option2'))
+ self.assertTrue(hasattr(cmd, 'option2'))
cmd.option3 = 1
self.assertRaises(DistutilsOptionError, cmd.ensure_string, 'option3')