Changeset 133 for pyyaml/trunk/tests

Show
Ignore:
Timestamp:
04/10/06 20:34:16 (6 years ago)
Author:
xi
Message:

Implement yaml.dump().

Location:
pyyaml/trunk/tests
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/tests/data/scalars.events

    r130 r133  
    1919- !Scalar { implicit: true, value: 'block scalar with tag' } 
    2020- !Scalar { value: 'data', style: '|', tag: '!mytag' } 
     21- !Scalar { implicit: true, value: 'single character' } 
     22- !Scalar { value: 'a', implicit: true } 
     23- !Scalar { implicit: true, value: 'single digit' } 
     24- !Scalar { value: '1', implicit: true } 
    2125- !MappingEnd 
    2226- !DocumentEnd 
  • pyyaml/trunk/tests/test_emitter.py

    r132 r133  
    7676 
    7777    def _testEmitterEvents(self, test_name, events_filename): 
    78         events = list(load_document(file(events_filename, 'rb'), Constructor=EventsConstructor)) 
     78        events = list(load(file(events_filename, 'rb'), Constructor=EventsConstructor)) 
    7979        #self._dump(events_filename, events) 
    8080        writer = StringIO.StringIO() 
  • pyyaml/trunk/tests/test_yaml.py

    r132 r133  
    1111from test_constructor import * 
    1212from test_emitter import * 
     13from test_representer import * 
    1314from test_syck import * 
    1415