mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
bpo-31029: test_tokenize Add missing import unittest (#2865)
This commit is contained in:
parent
ccfdb60af7
commit
90addd6d1c
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue