Skip to content

Commit ed2114f

Browse files
[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 c283a0c) Co-authored-by: Nikita Sobolev <[email protected]>
1 parent 0cd07b3 commit ed2114f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_buffer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4718,7 +4718,7 @@ def __buffer__(self, flags):
47184718
with self.assertRaises(ValueError):
47194719
c.buffer.tobytes()
47204720

4721-
def test_multiple_inheritance_buffer_last(self):
4721+
def test_multiple_inheritance_buffer_last_raising(self):
47224722
class A:
47234723
def __buffer__(self, flags):
47244724
raise RuntimeError("should not be called")

0 commit comments

Comments
 (0)