diff --git a/setup.cfg b/setup.cfg index d7f6981..c0f0846 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,6 @@ +[metadata] +description-file = README.rst + [bdist_wheel] universal=1 -[metadata] -description-file = README.rst diff --git a/tests/io/test_json.py b/tests/io/test_json.py index 1c4716b..0e3a2f9 100644 --- a/tests/io/test_json.py +++ b/tests/io/test_json.py @@ -10,7 +10,7 @@ class ContextMock: def test_write_json_to_file(tmpdir): file = tmpdir.join('output.json') - json_writer = to_json(file) + json_writer = to_json(str(file)) context = ContextMock() get_initializer(json_writer)(context) @@ -30,7 +30,7 @@ def test_write_json_to_file(tmpdir): def test_write_json_without_initializer_should_not_work(tmpdir): file = tmpdir.join('output.json') - json_writer = to_json(file) + json_writer = to_json(str(file)) context = ContextMock() with pytest.raises(AttributeError):