aboutsummaryrefslogtreecommitdiff
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/distutils
parentbpo-38823: Clean up refleak in fcntl module initialization. (GH-17236) (diff)
downloadcpython-892221bfa04a41cf581f988ba19dc263f557e157.tar.gz
cpython-892221bfa04a41cf581f988ba19dc263f557e157.tar.bz2
cpython-892221bfa04a41cf581f988ba19dc263f557e157.zip
bpo-38839: Fix some unused functions in tests (GH-17189)
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/tests/support.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/distutils/tests/support.py b/Lib/distutils/tests/support.py
index 041309851d0..259af882ec0 100644
--- a/Lib/distutils/tests/support.py
+++ b/Lib/distutils/tests/support.py
@@ -39,8 +39,6 @@ class LoggingSilencer(object):
self.logs.append((level, msg, args))
def get_logs(self, *levels):
- def _format(msg, args):
- return msg % args
return [msg % args for level, msg, args
in self.logs if level in levels]