diff options
| author | Zachary Ware <zachary.ware@gmail.com> | 2016-09-09 12:55:14 -0700 |
|---|---|---|
| committer | Zachary Ware <zachary.ware@gmail.com> | 2016-09-09 12:55:14 -0700 |
| commit | a0154c0f0ee38b1b8a05eac181a35c78ca1508f4 (patch) | |
| tree | 1abbf3394e1c2ec5cda812961f98181ff110b376 /Lib/test | |
| parent | c1bd632abf6cc3b0f60e2e2f4587b0f00b7495cd (diff) | |
| download | cpython-git-a0154c0f0ee38b1b8a05eac181a35c78ca1508f4.tar.gz | |
Fix running test_tokenize directly
Diffstat (limited to 'Lib/test')
| -rw-r--r-- | Lib/test/test_tokenize.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py index 90438e7d30..77c0423d19 100644 --- a/Lib/test/test_tokenize.py +++ b/Lib/test/test_tokenize.py @@ -3,7 +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 -from unittest import TestCase, mock +from unittest import TestCase, mock, main import os import token @@ -1564,4 +1564,4 @@ class TestRoundtrip(TestCase): if __name__ == "__main__": - unittest.main() + main() |
