Skip to content

Commit b58ab37

Browse files
committed
BUG: Stylistic update. (pandas-dev#39701)
1 parent 84dfcc9 commit b58ab37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/util/test_show_versions.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def as_json(request):
3333
"ignore:Distutils:UserWarning"
3434
)
3535
@pytest.mark.filterwarnings("ignore:Setuptools is replacing distutils:UserWarning")
36-
@pytest.mark.parametrize('as_json', [True, False, 'test_output.json'], indirect=True)
36+
@pytest.mark.parametrize("as_json", [True, False, "test_output.json"], indirect=True)
3737
def test_show_versions(capsys, as_json, tmpdir):
3838
# gh-32041
3939
if isinstance(as_json, str):
@@ -65,9 +65,9 @@ def test_show_versions(capsys, as_json, tmpdir):
6565
# make sure that the file was created
6666
assert os.path.exists(as_json)
6767

68-
with open(as_json, 'r') as fd:
68+
with open(as_json, "r") as fd:
6969
contents = fd.readlines()
70-
str_contents = ''.join(contents)
70+
str_contents = "".join(contents)
7171

7272
# make sure that there was output to the file
7373
assert str_contents

0 commit comments

Comments
 (0)