We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b58ab37 commit 06ae153Copy full SHA for 06ae153
pandas/tests/util/test_show_versions.py
@@ -65,7 +65,7 @@ def test_show_versions(capsys, as_json, tmpdir):
65
# make sure that the file was created
66
assert os.path.exists(as_json)
67
68
- with open(as_json, "r") as fd:
+ with open(as_json) as fd:
69
contents = fd.readlines()
70
str_contents = "".join(contents)
71
0 commit comments