diff options
| author | Adam Johnson <me@adamj.eu> | 2019-11-19 19:45:20 (GMT) |
|---|---|---|
| committer | Brett Cannon <54418+brettcannon@users.noreply.github.com> | 2019-11-19 19:45:20 (GMT) |
| commit | 892221bfa04a41cf581f988ba19dc263f557e157 (patch) | |
| tree | 3961cf2084befe960fd1171381564886cb4a913c /Lib/test/test_buffer.py | |
| parent | 54b32c987146123f2237f0e21b1d02b1c1ebdf6f (diff) | |
| download | cpython-892221bfa04a41cf581f988ba19dc263f557e157.zip cpython-892221bfa04a41cf581f988ba19dc263f557e157.tar.gz cpython-892221bfa04a41cf581f988ba19dc263f557e157.tar.bz2 | |
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.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_buffer.py b/Lib/test/test_buffer.py index 5fa52bf..0aa7801 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) |
