[Python-checkins] bpo-31029: test_tokenize Add missing import unittest (#2998)

Serhiy Storchaka webhook-mailer at python.org
Sat Aug 5 14:28:20 EDT 2017


https://github.com/python/cpython/commit/9cd0ef8f3b93818f0ee5318cb1fc9a1ea32e95b6
commit: 9cd0ef8f3b93818f0ee5318cb1fc9a1ea32e95b6
branch: 3.6
author: Rajath Agasthya <rajathagasthya at users.noreply.github.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2017-08-05T21:28:17+03:00
summary:

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

files:
M Lib/test/test_tokenize.py

diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py
index 5a81a5f11a4..10e0ad80779 100644
--- a/Lib/test/test_tokenize.py
+++ b/Lib/test/test_tokenize.py
@@ -3,6 +3,7 @@
                      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)



More information about the Python-checkins mailing list