mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-95144: Improve error message of ... in None
(GH-119888)
This commit is contained in:
parent
65fededf9c
commit
dc03ce797a
4 changed files with 18 additions and 5 deletions
|
@ -1434,7 +1434,7 @@ class BlobTests(unittest.TestCase):
|
|||
self.blob + self.blob
|
||||
with self.assertRaisesRegex(TypeError, "unsupported operand"):
|
||||
self.blob * 5
|
||||
with self.assertRaisesRegex(TypeError, "is not iterable"):
|
||||
with self.assertRaisesRegex(TypeError, "is not.+iterable"):
|
||||
b"a" in self.blob
|
||||
|
||||
def test_blob_context_manager(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue