diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-09-10 07:35:59 +0300 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2020-09-10 07:35:59 +0300 |
commit | d070b72494fcb51eba27211aea9bfcf675973777 (patch) | |
tree | 7d82a27ddb3fc3571434b7c4aeee92c1bbf0127b /lib-python | |
parent | next similar issue (73e7c4e0b67d) (diff) | |
download | pypy-d070b72494fcb51eba27211aea9bfcf675973777.tar.gz pypy-d070b72494fcb51eba27211aea9bfcf675973777.tar.bz2 pypy-d070b72494fcb51eba27211aea9bfcf675973777.zip |
typo, update whatsnew
Diffstat (limited to 'lib-python')
-rw-r--r-- | lib-python/2.7/test/test_tarfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-python/2.7/test/test_tarfile.py b/lib-python/2.7/test/test_tarfile.py index 760ecebb9e..e27a7f8cc2 100644 --- a/lib-python/2.7/test/test_tarfile.py +++ b/lib-python/2.7/test/test_tarfile.py @@ -324,7 +324,7 @@ class CommonReadTest(ReadTest): def test_length_zero_header(self): # bpo-39017 (CVE-2019-20907): reading a zero-length header should fail # with an exception - with self.assertRaisesRegex(tarfile.ReadError, "file could not be opened successfully"): + with self.assertRaisesRegexp(tarfile.ReadError, "file could not be opened successfully"): with tarfile.open(support.findfile('recursion.tar')) as tar: pass |