source: pyyaml/trunk/tests/lib3/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.

RevLine 
[291]1
[322]2import sys, yaml, test_appliance
[291]3
[322]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)
[291]12
13if __name__ == '__main__':
14    main()
15
Note: See TracBrowser for help on using the repository browser.