summaryrefslogtreecommitdiff
path: root/tests3/data/mappings.events
diff options
context:
space:
mode:
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>2008-12-29 17:24:05 +0000
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>2008-12-29 17:24:05 +0000
commit0dfeb9f5f403658a12a0305d1cf2ff54ccb88f20 (patch)
tree9f53c734a8aaa6305ebcbb526a990f207d978302 /tests3/data/mappings.events
parent26fa005de84c1a760ed94a80866ddb1d6eb74f3c (diff)
downloadpyyaml-0dfeb9f5f403658a12a0305d1cf2ff54ccb88f20.tar.gz
Added basic support for Python 3 (Thanks idadesub(at)users(dot)sourceforge(dot)net).
git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@328 18f92427-320e-0410-9341-c67f048884a3
Diffstat (limited to 'tests3/data/mappings.events')
-rw-r--r--tests3/data/mappings.events44
1 files changed, 44 insertions, 0 deletions
diff --git a/tests3/data/mappings.events b/tests3/data/mappings.events
new file mode 100644
index 0000000..3cb5579
--- /dev/null
+++ b/tests3/data/mappings.events
@@ -0,0 +1,44 @@
+- !StreamStart
+
+- !DocumentStart
+- !MappingStart
+- !Scalar { implicit: [true,true], value: 'key' }
+- !Scalar { implicit: [true,true], value: 'value' }
+- !Scalar { implicit: [true,true], value: 'empty mapping' }
+- !MappingStart
+- !MappingEnd
+- !Scalar { implicit: [true,true], value: 'empty mapping with tag' }
+- !MappingStart { tag: '!mytag', implicit: false }
+- !MappingEnd
+- !Scalar { implicit: [true,true], value: 'block mapping' }
+- !MappingStart
+- !MappingStart
+- !Scalar { implicit: [true,true], value: 'complex' }
+- !Scalar { implicit: [true,true], value: 'key' }
+- !Scalar { implicit: [true,true], value: 'complex' }
+- !Scalar { implicit: [true,true], value: 'key' }
+- !MappingEnd
+- !MappingStart
+- !Scalar { implicit: [true,true], value: 'complex' }
+- !Scalar { implicit: [true,true], value: 'key' }
+- !MappingEnd
+- !MappingEnd
+- !Scalar { implicit: [true,true], value: 'flow mapping' }
+- !MappingStart { flow_style: true }
+- !Scalar { implicit: [true,true], value: 'key' }
+- !Scalar { implicit: [true,true], value: 'value' }
+- !MappingStart
+- !Scalar { implicit: [true,true], value: 'complex' }
+- !Scalar { implicit: [true,true], value: 'key' }
+- !Scalar { implicit: [true,true], value: 'complex' }
+- !Scalar { implicit: [true,true], value: 'key' }
+- !MappingEnd
+- !MappingStart
+- !Scalar { implicit: [true,true], value: 'complex' }
+- !Scalar { implicit: [true,true], value: 'key' }
+- !MappingEnd
+- !MappingEnd
+- !MappingEnd
+- !DocumentEnd
+
+- !StreamEnd