summaryrefslogtreecommitdiff
path: root/Lib/test/test_buffer.py
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2019-11-19 19:45:20 +0000
committerBrett Cannon <54418+brettcannon@users.noreply.github.com>2019-11-19 11:45:20 -0800
commit892221bfa04a41cf581f988ba19dc263f557e157 (patch)
tree3961cf2084befe960fd1171381564886cb4a913c /Lib/test/test_buffer.py
parent54b32c987146123f2237f0e21b1d02b1c1ebdf6f (diff)
downloadcpython-git-892221bfa04a41cf581f988ba19dc263f557e157.tar.gz
bpo-38839: Fix some unused functions in tests (GH-17189)
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 5fa52bffc2..0aa78016f5 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)