From: Nikita Sobolev Date: Wed, 28 Jun 2023 14:43:41 +0000 (+0300) Subject: gh-106197: Deduplicate tests in `test_buffer` (#106198) X-Git-Tag: v3.13.0a1~1611 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c283a0cff5603540f06d9017e484b3602cc62e7c;p=thirdparty%2FPython%2Fcpython.git gh-106197: Deduplicate tests in `test_buffer` (#106198) --- diff --git a/Lib/test/test_buffer.py b/Lib/test/test_buffer.py index 8d6902e00468..b679d2e8a01f 100644 --- a/Lib/test/test_buffer.py +++ b/Lib/test/test_buffer.py @@ -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")