Ignore:
Timestamp:
08/29/09 15:15:31 (5 years ago)
Author:
xi
Message:

Fixed a problem when CDumper incorrectly serializes a node anchor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/tests/lib3/test_constructor.py

    r330 r350  
    1515            AnObject, AnInstance, AState, ACustomState, InitArgs, InitArgsWithState,    \ 
    1616            NewArgs, NewArgsWithState, Reduce, ReduceWithState, MyInt, MyList, MyDict,  \ 
    17             FixedOffset, execute 
     17            FixedOffset, today, execute 
    1818 
    1919    class MyLoader(yaml.Loader): 
     
    200200        def dst(self, dt): 
    201201            return datetime.timedelta(0) 
     202 
     203    today = datetime.date.today() 
    202204 
    203205def _load_code(expression): 
Note: See TracChangeset for help on using the changeset viewer.