mirror of
https://github.com/python/cpython.git
synced 2025-09-01 22:47:59 +00:00
gh-106197: Deduplicate tests in test_buffer
(#106198)
This commit is contained in:
parent
18f51f91e2
commit
c283a0cff5
1 changed files with 1 additions and 1 deletions
|
@ -4722,7 +4722,7 @@ class TestPythonBufferProtocol(unittest.TestCase):
|
||||||
with self.assertRaises(ValueError):
|
with self.assertRaises(ValueError):
|
||||||
c.buffer.tobytes()
|
c.buffer.tobytes()
|
||||||
|
|
||||||
def test_multiple_inheritance_buffer_last(self):
|
def test_multiple_inheritance_buffer_last_raising(self):
|
||||||
class A:
|
class A:
|
||||||
def __buffer__(self, flags):
|
def __buffer__(self, flags):
|
||||||
raise RuntimeError("should not be called")
|
raise RuntimeError("should not be called")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue