summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Wirtel <stephane@wirtel.be>2017-07-25 13:33:53 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-07-25 13:33:53 (GMT)
commit90addd6d1c1fde4ec12a6b554d1deacfac6a879c (patch)
treed8be99bb8553ea010abbc642c5b15b665abe55b4
parentccfdb60af7b2db578c1aceb7742cec0330766667 (diff)
downloadcpython-90addd6d1c1fde4ec12a6b554d1deacfac6a879c.zip
cpython-90addd6d1c1fde4ec12a6b554d1deacfac6a879c.tar.gz
cpython-90addd6d1c1fde4ec12a6b554d1deacfac6a879c.tar.bz2
bpo-31029: test_tokenize Add missing import unittest (#2865)
-rw-r--r--Lib/test/test_tokenize.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py
index 538612c..21eee6d 100644
--- a/Lib/test/test_tokenize.py
+++ b/Lib/test/test_tokenize.py
@@ -3,6 +3,7 @@ from tokenize import (tokenize, _tokenize, untokenize, NUMBER, NAME, OP,
STRING, ENDMARKER, ENCODING, tok_name, detect_encoding,
open as tokenize_open, Untokenizer)
from io import BytesIO
+import unittest
from unittest import TestCase, mock
from test.test_grammar import (VALID_UNDERSCORE_LITERALS,
INVALID_UNDERSCORE_LITERALS)