diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2012-12-27 22:32:19 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2012-12-27 22:32:19 (GMT) |
| commit | 8876145fabec7924981f36019f0c2e45f73fbad2 (patch) | |
| tree | b1deaa1df7385024bdc3e7093c442421f09411f1 /Lib/test/test_tarfile.py | |
| parent | 270767b2ceb5452d052b280eb1b174d7a32d43f5 (diff) | |
| download | cpython-8876145fabec7924981f36019f0c2e45f73fbad2.zip cpython-8876145fabec7924981f36019f0c2e45f73fbad2.tar.gz cpython-8876145fabec7924981f36019f0c2e45f73fbad2.tar.bz2 | |
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
Diffstat (limited to 'Lib/test/test_tarfile.py')
| -rw-r--r-- | Lib/test/test_tarfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index a3685ea..9ec7744 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py @@ -858,7 +858,7 @@ class WriteTest(WriteTestBase): tar = tarfile.open(tmpname, "r") for t in tar: - self.assert_(t.name == "." or t.name.startswith("./")) + self.assertTrue(t.name == "." or t.name.startswith("./")) tar.close() finally: os.chdir(cwd) |
