Changeset 330 for pyyaml/trunk/tests/lib3/test_constructor.py
- Timestamp:
- 12/29/08 14:05:11 (4 years ago)
- Location:
- pyyaml/trunk/tests/lib3
- Files:
-
- 1 added
- 1 copied
-
. (added)
-
test_constructor.py (copied) (copied from pyyaml/trunk/tests3/test_constructor.py) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/tests/lib3/test_constructor.py
r329 r330 13 13 def _make_objects(): 14 14 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 17 18 18 19 class MyLoader(yaml.Loader): … … 157 158 def __setstate__(self, state): 158 159 self.baz = state 160 161 InitArgs = NewArgs 162 163 InitArgsWithState = NewArgsWithState 159 164 160 165 class Reduce(AnObject):
Note: See TracChangeset
for help on using the changeset viewer.
