aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_buffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_buffer.py')
-rw-r--r--Lib/test/test_buffer.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_buffer.py b/Lib/test/test_buffer.py
index 5fa52bffc22..0aa78016f5d 100644
--- a/Lib/test/test_buffer.py
+++ b/Lib/test/test_buffer.py
@@ -969,8 +969,6 @@ class TestBufferProtocol(unittest.TestCase):
m.tobytes() # Releasing mm didn't release m
def verify_getbuf(self, orig_ex, ex, req, sliced=False):
- def simple_fmt(ex):
- return ex.format == '' or ex.format == 'B'
def match(req, flag):
return ((req&flag) == flag)