Ignore:
Timestamp:
12/27/08 14:09:03 (5 years ago)
Author:
xi
Message:

Fixed test errors for LibYAML bindings; added a test on emitting nodes in all possible styles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/tests/test_yaml_ext.py

    r311 r312  
    33 
    44import _yaml, yaml 
     5 
     6test_appliance.TestAppliance.SKIP_EXT = '.skip-ext' 
    57 
    68class TestCVersion(unittest.TestCase): 
     
    103105                if hasattr(event, 'value'): 
    104106                    self.failUnlessEqual(event.value, ext_event.value) 
    105                 if hasattr(event, 'explicit'): 
     107                if hasattr(event, 'explicit') and event.explicit: 
    106108                    self.failUnlessEqual(event.explicit, ext_event.explicit) 
    107109                if hasattr(event, 'version'): 
Note: See TracChangeset for help on using the changeset viewer.