bpo-31029: test_tokenize Add missing import unittest (#2998)

This commit is contained in:
Rajath Agasthya 2017-08-05 11:28:17 -07:00 committed by Serhiy Storchaka
parent 4795ba857e
commit 9cd0ef8f3b

View file

@ -3,6 +3,7 @@ from tokenize import (tokenize, _tokenize, untokenize, NUMBER, NAME, OP,
STRING, ENDMARKER, ENCODING, tok_name, detect_encoding, STRING, ENDMARKER, ENCODING, tok_name, detect_encoding,
open as tokenize_open, Untokenizer) open as tokenize_open, Untokenizer)
from io import BytesIO from io import BytesIO
import unittest
from unittest import TestCase, mock from unittest import TestCase, mock
from test.test_grammar import (VALID_UNDERSCORE_LITERALS, from test.test_grammar import (VALID_UNDERSCORE_LITERALS,
INVALID_UNDERSCORE_LITERALS) INVALID_UNDERSCORE_LITERALS)