diff options
| author | Anthon van der Neut <anthon@mnt.org> | 2016-01-22 21:22:33 +0100 |
|---|---|---|
| committer | Anthon van der Neut <anthon@mnt.org> | 2016-01-22 21:22:33 +0100 |
| commit | da73c8aa0d8db3d0f54d88740a0f7f621ac563df (patch) | |
| tree | 7cbbfec9780ab9a33f09926e91cab343be049cdb /_test/data/construct-python-object.data | |
| parent | a5f03a5e66daaea85af2730fa961d11c62d8cf17 (diff) | |
| download | ruamel.yaml-da73c8aa0d8db3d0f54d88740a0f7f621ac563df.tar.gz | |
moved test to _test to prevent setuptools from including test/test_*.py0.10.17
although the package dirs were explicitly specified. This used to
lead to half included, non-working test directory contents that have
no place in a distribution. This fixes issue #17
Diffstat (limited to '_test/data/construct-python-object.data')
| -rw-r--r-- | _test/data/construct-python-object.data | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/_test/data/construct-python-object.data b/_test/data/construct-python-object.data new file mode 100644 index 0000000..bce8b2e --- /dev/null +++ b/_test/data/construct-python-object.data @@ -0,0 +1,21 @@ +- !!python/object:test_constructor.AnObject { foo: 1, bar: two, baz: [3,3,3] } +- !!python/object:test_constructor.AnInstance { foo: 1, bar: two, baz: [3,3,3] } + +- !!python/object/new:test_constructor.AnObject { args: [1, two], kwds: {baz: [3,3,3]} } +- !!python/object/apply:test_constructor.AnInstance { args: [1, two], kwds: {baz: [3,3,3]} } + +- !!python/object:test_constructor.AState { _foo: 1, _bar: two, _baz: [3,3,3] } +- !!python/object/new:test_constructor.ACustomState { state: !!python/tuple [1, two, [3,3,3]] } + +- !!python/object/new:test_constructor.InitArgs [1, two, [3,3,3]] +- !!python/object/new:test_constructor.InitArgsWithState { args: [1, two], state: [3,3,3] } + +- !!python/object/new:test_constructor.NewArgs [1, two, [3,3,3]] +- !!python/object/new:test_constructor.NewArgsWithState { args: [1, two], state: [3,3,3] } + +- !!python/object/apply:test_constructor.Reduce [1, two, [3,3,3]] +- !!python/object/apply:test_constructor.ReduceWithState { args: [1, two], state: [3,3,3] } + +- !!python/object/new:test_constructor.MyInt [3] +- !!python/object/new:test_constructor.MyList { listitems: [~, ~, ~] } +- !!python/object/new:test_constructor.MyDict { dictitems: {0, 1, 2} } |
