Kaydet (Commit) e6499a07 authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) Serhiy Storchaka

Use assertTrue() instead of deprecated assert_(). (GH-5526) (GH-5527)

(cherry picked from commit 95c32627)
Co-authored-by: 's avatarSerhiy Storchaka <storchaka@gmail.com>
üst 1a0239e1
......@@ -548,7 +548,7 @@ class _pthFileTests(unittest.TestCase):
'import sys; print("\\n".join(sys.path) if sys.flags.no_site else "")'
], env=env, encoding='ansi')
actual_sys_path = output.rstrip().split('\n')
self.assert_(actual_sys_path, "sys.flags.no_site was False")
self.assertTrue(actual_sys_path, "sys.flags.no_site was False")
self.assertEqual(
actual_sys_path,
sys_path,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment