From cac6920040177648ab5da8f64ac5f32ab4b2c064 Mon Sep 17 00:00:00 2001 From: Romain Dorgueil Date: Sun, 29 Oct 2017 12:13:52 +0100 Subject: [PATCH] Minor test change. --- tests/io/test_json.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tests/io/test_json.py b/tests/io/test_json.py index 726d35f..a3b25f5 100644 --- a/tests/io/test_json.py +++ b/tests/io/test_json.py @@ -20,10 +20,10 @@ def test_write_json_ioformat_arg0(tmpdir): @pytest.mark.parametrize('add_kwargs', ( - {}, - { - 'ioformat': settings.IOFORMAT_KWARGS, - }, + {}, + { + 'ioformat': settings.IOFORMAT_KWARGS, + }, )) def test_write_json_kwargs(tmpdir, add_kwargs): fs, filename, services = json_tester.get_services_for_writer(tmpdir) @@ -55,8 +55,10 @@ def test_write_stream_json(tmpdir): with BufferingNodeExecutionContext(LdjsonWriter(filename), services=services) as context: - context.write_sync({'foo': 'bar'}) - context.write_sync({'baz': 'boz'}) + context.write_sync( + {'foo': 'bar'}, + {'baz': 'boz'}, + ) expected = '''{"foo": "bar"}\n{"baz": "boz"}\n''' with fs.open(filename) as fin: