mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Fix running test_tokenize directly
This commit is contained in:
parent
c1bd632abf
commit
a0154c0f0e
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
STRING, ENDMARKER, ENCODING, tok_name, detect_encoding,
|
||||
open as tokenize_open, Untokenizer)
|
||||
from io import BytesIO
|
||||
from unittest import TestCase, mock
|
||||
from unittest import TestCase, mock, main
|
||||
import os
|
||||
import token
|
||||
|
||||
|
|
@ -1564,4 +1564,4 @@ def test_indentation_semantics_retained(self):
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue