diff --git a/setup.py b/setup.py index ac8217a..4f78e9e 100755 --- a/setup.py +++ b/setup.py @@ -16,9 +16,7 @@ except IndexError: raise RuntimeError("Unable to determine version.") -with open("README.rst") as file: - long_description = file.read() - +long_description = pathlib.Path("README.rst").read_text() setuptools.setup( name=name, version=version, diff --git a/tests/test_requests.py b/tests/test_requests.py index 3868b2d..82deb7b 100755 --- a/tests/test_requests.py +++ b/tests/test_requests.py @@ -36,7 +36,7 @@ def test_make_query_full(): assert query["interval"] == 60 assert query["from"] == "2019-10-09" assert query["till"] == "2019-11-12" - assert query["iss.only"] == f"new_table,history.cursor" + assert query["iss.only"] == "new_table,history.cursor" assert query["new_table.columns"] == "4,a"