summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_install_scripts.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/tests/test_install_scripts.py')
-rw-r--r--Lib/distutils/tests/test_install_scripts.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/distutils/tests/test_install_scripts.py b/Lib/distutils/tests/test_install_scripts.py
index fffa6ef..b7eb625 100644
--- a/Lib/distutils/tests/test_install_scripts.py
+++ b/Lib/distutils/tests/test_install_scripts.py
@@ -23,15 +23,15 @@ class InstallScriptsTestCase(support.TempdirManager,
skip_build=1,
)
cmd = install_scripts(dist)
- self.assert_(not cmd.force)
- self.assert_(not cmd.skip_build)
- self.assert_(cmd.build_dir is None)
- self.assert_(cmd.install_dir is None)
+ self.assertTrue(not cmd.force)
+ self.assertTrue(not cmd.skip_build)
+ self.assertTrue(cmd.build_dir is None)
+ self.assertTrue(cmd.install_dir is None)
cmd.finalize_options()
- self.assert_(cmd.force)
- self.assert_(cmd.skip_build)
+ self.assertTrue(cmd.force)
+ self.assertTrue(cmd.skip_build)
self.assertEqual(cmd.build_dir, "/foo/bar")
self.assertEqual(cmd.install_dir, "/splat/funk")
@@ -69,7 +69,7 @@ class InstallScriptsTestCase(support.TempdirManager,
installed = os.listdir(target)
for name in expected:
- self.assert_(name in installed)
+ self.assertTrue(name in installed)
def test_suite():