source: pyyaml/trunk/tests3/data/construct-python-object.data @ 329

Revision 329, 1.0 KB checked in by xi, 6 years ago (diff)

Fixed the remaining Python 3 compatibility issues.

RevLine 
[147]1- !!python/object:test_constructor.AnObject { foo: 1, bar: two, baz: [3,3,3] }
2- !!python/object:test_constructor.AnInstance { foo: 1, bar: two, baz: [3,3,3] }
3
4- !!python/object/new:test_constructor.AnObject { args: [1, two], kwds: {baz: [3,3,3]} }
5- !!python/object/apply:test_constructor.AnInstance { args: [1, two], kwds: {baz: [3,3,3]} }
6
7- !!python/object:test_constructor.AState { _foo: 1, _bar: two, _baz: [3,3,3] }
8- !!python/object/new:test_constructor.ACustomState { state: !!python/tuple [1, two, [3,3,3]] }
9
10- !!python/object/new:test_constructor.NewArgs [1, two, [3,3,3]]
11- !!python/object/new:test_constructor.NewArgsWithState { args: [1, two], state: [3,3,3] }
12
13- !!python/object/apply:test_constructor.Reduce [1, two, [3,3,3]]
14- !!python/object/apply:test_constructor.ReduceWithState { args: [1, two], state: [3,3,3] }
15
16- !!python/object/new:test_constructor.MyInt [3]
17- !!python/object/new:test_constructor.MyList { listitems: [~, ~, ~] }
18- !!python/object/new:test_constructor.MyDict { dictitems: {0, 1, 2} }
Note: See TracBrowser for help on using the repository browser.