mirror of
https://github.com/python/cpython.git
synced 2025-11-01 22:21:35 +00:00
Issue #19600: Use specific asserts in distutils tests.
This commit is contained in:
commit
932c6160b5
16 changed files with 36 additions and 36 deletions
|
|
@ -105,7 +105,7 @@ def test_dont_write_bytecode(self):
|
|||
finally:
|
||||
sys.dont_write_bytecode = old_dont_write_bytecode
|
||||
|
||||
self.assertTrue('byte-compiling is disabled' in self.logs[0][1])
|
||||
self.assertIn('byte-compiling is disabled', self.logs[0][1])
|
||||
|
||||
|
||||
def test_suite():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue