From 95eeaf61b9d78bc0cff52f8ababa0753f2fa8577 Mon Sep 17 00:00:00 2001 From: Romain Dorgueil Date: Sun, 30 Apr 2017 11:19:29 +0200 Subject: [PATCH] fix test --- tests/io/test_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/io/test_json.py b/tests/io/test_json.py index bc10d57..c53ff0c 100644 --- a/tests/io/test_json.py +++ b/tests/io/test_json.py @@ -17,7 +17,7 @@ def test_write_json_to_file(tmpdir): context.step() context.stop() - assert fs.open(filename).read() == '[\n{"foo": "bar"}\n]' + assert fs.open(filename).read() == '[{"foo": "bar"}]' with pytest.raises(AttributeError): getattr(context, 'file')