]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-106197: Deduplicate tests in `test_buffer` (#106198)
authorNikita Sobolev <mail@sobolevn.me>
Wed, 28 Jun 2023 14:43:41 +0000 (17:43 +0300)
committerGitHub <noreply@github.com>
Wed, 28 Jun 2023 14:43:41 +0000 (07:43 -0700)
Lib/test/test_buffer.py

index 8d6902e004689b0b5663a41c454d947239279c13..b679d2e8a01f920cba1b163edbb2b3c0b5e58c01 100644 (file)
@@ -4722,7 +4722,7 @@ class TestPythonBufferProtocol(unittest.TestCase):
         with self.assertRaises(ValueError):
             c.buffer.tobytes()
 
-    def test_multiple_inheritance_buffer_last(self):
+    def test_multiple_inheritance_buffer_last_raising(self):
         class A:
             def __buffer__(self, flags):
                 raise RuntimeError("should not be called")