source: pyyaml/trunk/tests/lib/test_all.py @ 330

Revision 330, 315 bytes checked in by xi, 6 years ago (diff)

Share data files between Py2 and Py3 test suites.

Line 
1
2import sys, yaml, test_appliance
3
4def main(args=None):
5    collections = []
6    import test_yaml
7    collections.append(test_yaml)
8    if yaml.__with_libyaml__:
9        import test_yaml_ext
10        collections.append(test_yaml_ext)
11    test_appliance.run(collections, args)
12
13if __name__ == '__main__':
14    main()
15
Note: See TracBrowser for help on using the repository browser.