Ignore:
Timestamp:
12/29/08 14:05:11 (6 years ago)
Author:
xi
Message:

Share data files between Py2 and Py3 test suites.

Location:
pyyaml/trunk/tests/lib3
Files:
1 added
1 copied

Legend:

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

    r329 r330  
    1313def _make_objects(): 
    1414    global MyLoader, MyDumper, MyTestClass1, MyTestClass2, MyTestClass3, YAMLObject1, YAMLObject2,  \ 
    15             AnObject, AnInstance, AState, ACustomState, NewArgs, NewArgsWithState,  \ 
    16             Reduce, ReduceWithState, MyInt, MyList, MyDict, FixedOffset, execute 
     15            AnObject, AnInstance, AState, ACustomState, InitArgs, InitArgsWithState,    \ 
     16            NewArgs, NewArgsWithState, Reduce, ReduceWithState, MyInt, MyList, MyDict,  \ 
     17            FixedOffset, execute 
    1718 
    1819    class MyLoader(yaml.Loader): 
     
    157158        def __setstate__(self, state): 
    158159            self.baz = state 
     160 
     161    InitArgs = NewArgs 
     162 
     163    InitArgsWithState = NewArgsWithState 
    159164 
    160165    class Reduce(AnObject): 
Note: See TracChangeset for help on using the changeset viewer.