Changeset 322 for pyyaml/trunk/tests/test_all.py
- Timestamp:
- 12/28/08 15:16:50 (4 years ago)
- File:
-
- 1 edited
-
pyyaml/trunk/tests/test_all.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/tests/test_all.py
r291 r322 1 1 2 import unittest2 import sys, yaml, test_appliance 3 3 4 def main( ):5 import yaml6 names = ['test_yaml']7 if yaml.__libyaml__:8 names.append('test_yaml_ext')9 suite = unittest.defaultTestLoader.loadTestsFromNames(names)10 runner = unittest.TextTestRunner()11 runner.run(suite)4 def 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 12 13 13 if __name__ == '__main__':
Note: See TracChangeset
for help on using the changeset viewer.
