LEFT | RIGHT |
1 from importlib import _bootstrap | 1 from importlib import _bootstrap |
2 from . import util as source_util | 2 from . import util as source_util |
3 | 3 |
4 import codecs | 4 import codecs |
5 import re | 5 import re |
6 import sys | 6 import sys |
7 # Because sys.path gets essentially blanked, need to have unicodedata already | 7 # Because sys.path gets essentially blanked, need to have unicodedata already |
8 # imported for the parser to use. | 8 # imported for the parser to use. |
9 import unicodedata | 9 import unicodedata |
10 import unittest | 10 import unittest |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 self.run_test(b'\n') | 114 self.run_test(b'\n') |
115 | 115 |
116 | 116 |
117 def test_main(): | 117 def test_main(): |
118 from test.support import run_unittest | 118 from test.support import run_unittest |
119 run_unittest(EncodingTest, LineEndingTest) | 119 run_unittest(EncodingTest, LineEndingTest) |
120 | 120 |
121 | 121 |
122 if __name__ == '__main__': | 122 if __name__ == '__main__': |
123 test_main() | 123 test_main() |
LEFT | RIGHT |