summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-06-28 15:13:57 (GMT)
committerGitHub <noreply@github.com>2023-06-28 15:13:57 (GMT)
commited2114f1cf927206d08b3bc824b2fc3d515f5eae (patch)
tree929071273427d5a463c05240233d8b5ebcca7e85
parent0cd07b327283f7bfba2fcdb0bdb2886214157d67 (diff)
downloadcpython-ed2114f1cf927206d08b3bc824b2fc3d515f5eae.zip
cpython-ed2114f1cf927206d08b3bc824b2fc3d515f5eae.tar.gz
cpython-ed2114f1cf927206d08b3bc824b2fc3d515f5eae.tar.bz2
[3.12] gh-106197: Deduplicate tests in `test_buffer` (GH-106198) (#106206)
gh-106197: Deduplicate tests in `test_buffer` (GH-106198) (cherry picked from commit c283a0cff5603540f06d9017e484b3602cc62e7c) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
-rw-r--r--Lib/test/test_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_buffer.py b/Lib/test/test_buffer.py
index 94fc9d4..9f00bd5 100644
--- a/Lib/test/test_buffer.py
+++ b/Lib/test/test_buffer.py
@@ -4718,7 +4718,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")