summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_build_clib.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-16 22:17:46 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-16 22:17:46 (GMT)
commit39989157add83040a3d29a1bd0a04142ad98d7db (patch)
tree0f7d77303033959a0e8799776014ab72a99e22ab /Lib/distutils/tests/test_build_clib.py
parent5665bc5980cd20252fe1d27807759cecee8594d0 (diff)
downloadcpython-39989157add83040a3d29a1bd0a04142ad98d7db.zip
cpython-39989157add83040a3d29a1bd0a04142ad98d7db.tar.gz
cpython-39989157add83040a3d29a1bd0a04142ad98d7db.tar.bz2
Issue #19600: Use specific asserts in distutils tests.
Diffstat (limited to 'Lib/distutils/tests/test_build_clib.py')
-rw-r--r--Lib/distutils/tests/test_build_clib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_build_clib.py b/Lib/distutils/tests/test_build_clib.py
index ee1c041..c2b981f 100644
--- a/Lib/distutils/tests/test_build_clib.py
+++ b/Lib/distutils/tests/test_build_clib.py
@@ -137,7 +137,7 @@ class BuildCLibTestCase(support.TempdirManager,
cmd.run()
# let's check the result
- self.assertTrue('libfoo.a' in os.listdir(build_temp))
+ self.assertIn('libfoo.a', os.listdir(build_temp))
def test_suite():
return unittest.makeSuite(BuildCLibTestCase)