summaryrefslogtreecommitdiff
path: root/Lib/test/test_peepholer.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-07-01 18:28:25 +0200
committerGitHub <noreply@github.com>2019-07-01 18:28:25 +0200
commit8f4ef3b019ce380022018587571b0f970e668de3 (patch)
treed3699d2cae322c515e7a81e516527324fadc2d4d /Lib/test/test_peepholer.py
parentf9b7457bd7f438263e0d2dd1f70589ad56a2585e (diff)
downloadcpython-git-8f4ef3b019ce380022018587571b0f970e668de3.tar.gz
Remove unused imports in tests (GH-14518)
Diffstat (limited to 'Lib/test/test_peepholer.py')
-rw-r--r--Lib/test/test_peepholer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_peepholer.py b/Lib/test/test_peepholer.py
index b5f85bd559..c90a53210a 100644
--- a/Lib/test/test_peepholer.py
+++ b/Lib/test/test_peepholer.py
@@ -1,10 +1,9 @@
import dis
import unittest
-import types
-import textwrap
from test.bytecode_helper import BytecodeTestCase
+
def count_instr_recursively(f, opname):
count = 0
for instr in dis.get_instructions(f):