summaryrefslogtreecommitdiff
path: root/_test/test_z_check_debug_leftovers.py
diff options
context:
space:
mode:
Diffstat (limited to '_test/test_z_check_debug_leftovers.py')
-rw-r--r--_test/test_z_check_debug_leftovers.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/_test/test_z_check_debug_leftovers.py b/_test/test_z_check_debug_leftovers.py
index f5be5df..37d6970 100644
--- a/_test/test_z_check_debug_leftovers.py
+++ b/_test/test_z_check_debug_leftovers.py
@@ -10,25 +10,29 @@ class TestLeftOverDebug:
# idea here is to capture round_trip_output via pytest stdout capture
# if there is are any leftover debug statements they should show up
def test_00(self, capsys):
- s = dedent("""
+ s = dedent(
+ """
a: 1
b: []
c: [a, 1]
d: {f: 3.14, g: 42}
- """)
+ """
+ )
d = round_trip_load(s)
round_trip_dump(d, sys.stdout)
out, err = capsys.readouterr()
assert out == s
def test_01(self, capsys):
- s = dedent("""
+ s = dedent(
+ """
- 1
- []
- [a, 1]
- {f: 3.14, g: 42}
- - 123
- """)
+ """
+ )
d = round_trip_load(s)
round_trip_dump(d, sys.stdout)
out, err = capsys.readouterr()