LEFT | RIGHT |
1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
2 | 2 |
3 """ | 3 """ |
4 Test suite for PEP 380 implementation | 4 Test suite for PEP 380 implementation |
5 | 5 |
6 adapted from original tests written by Greg Ewing | 6 adapted from original tests written by Greg Ewing |
7 see <http://www.cosc.canterbury.ac.nz/greg.ewing/python/yield-from/YieldFrom-Pyt
hon3.1.2-rev5.zip> | 7 see <http://www.cosc.canterbury.ac.nz/greg.ewing/python/yield-from/YieldFrom-Pyt
hon3.1.2-rev5.zip> |
8 """ | 8 """ |
9 | 9 |
10 import unittest | 10 import unittest |
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 | 996 |
997 | 997 |
998 def test_main(): | 998 def test_main(): |
999 from test import support | 999 from test import support |
1000 test_classes = [TestPEP380Operation] | 1000 test_classes = [TestPEP380Operation] |
1001 support.run_unittest(*test_classes) | 1001 support.run_unittest(*test_classes) |
1002 | 1002 |
1003 | 1003 |
1004 if __name__ == '__main__': | 1004 if __name__ == '__main__': |
1005 test_main() | 1005 test_main() |
LEFT | RIGHT |