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/lib/test_constructor.py

    r330 r350  
    1818            AnObject, AnInstance, AState, ACustomState, InitArgs, InitArgsWithState,    \ 
    1919            NewArgs, NewArgsWithState, Reduce, ReduceWithState, MyInt, MyList, MyDict,  \ 
    20             FixedOffset, execute 
     20            FixedOffset, today, execute 
    2121 
    2222    class MyLoader(yaml.Loader): 
     
    213213        def dst(self, dt): 
    214214            return datetime.timedelta(0) 
     215 
     216    today = datetime.date.today() 
    215217 
    216218def _load_code(expression): 
Note: See TracChangeset for help on using the changeset viewer.