blob: f8f122e8d6a67ed33fd9167b5f6eb280651d94e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# coding: utf-8
"""
test flow style sequences as keys roundtrip
"""
# import pytest
from roundtrip import round_trip # , dedent, round_trip_load, round_trip_dump
class TestFlowStyleSequenceKey:
def test_so_39595807(self):
round_trip(
"""
%YAML 1.2
---
[2, 3, 4]:
a:
- 1
- 2
b: Hello World!
c: 'VoilĂ !'
""",
preserve_quotes=True,
explicit_start=True,
version=(1, 2),
)
|