LEFT | RIGHT |
1 import unittest | 1 import unittest |
2 import sys | 2 import sys |
3 import _ast | 3 import _ast |
4 import types | 4 import types |
5 from test import support | 5 from test import support |
6 | 6 |
7 class TestSpecifics(unittest.TestCase): | 7 class TestSpecifics(unittest.TestCase): |
8 | 8 |
9 def compile_single(self, source): | 9 def compile_single(self, source): |
10 compile(source, "<single>", "single") | 10 compile(source, "<single>", "single") |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 check_limit("a", ".b") | 499 check_limit("a", ".b") |
500 check_limit("a", "[0]") | 500 check_limit("a", "[0]") |
501 check_limit("a", "*a") | 501 check_limit("a", "*a") |
502 | 502 |
503 | 503 |
504 def test_main(): | 504 def test_main(): |
505 support.run_unittest(TestSpecifics) | 505 support.run_unittest(TestSpecifics) |
506 | 506 |
507 if __name__ == "__main__": | 507 if __name__ == "__main__": |
508 test_main() | 508 test_main() |
LEFT | RIGHT |