diff options
| author | Benjamin Peterson <benjamin@python.org> | 2009-06-30 23:06:06 +0000 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2009-06-30 23:06:06 +0000 |
| commit | d42774082d0532c78405d5b46f7d9896efcfb7a6 (patch) | |
| tree | fc5cfae03f8d3596f26841f15eb3d989933e4d72 /tests/test_cmd.py | |
| parent | 836436ecd7283a03864110e8aa71505605eb346b (diff) | |
| download | python-setuptools-git-d42774082d0532c78405d5b46f7d9896efcfb7a6.tar.gz | |
convert old fail* assertions to assert*
Diffstat (limited to 'tests/test_cmd.py')
| -rw-r--r-- | tests/test_cmd.py | 2 |
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') |
