Skip to content

Commit 4698132

Browse files
committed
BUG: Fix formatting and style (39701)
1 parent 33898fa commit 4698132

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pandas/tests/util/test_show_versions.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import json
22
import os
33
import re
4-
from itertools import chain
54

65
import pytest
76

@@ -75,9 +74,12 @@ def test_show_versions(capsys, as_json, tmpdir):
7574
dict_check = json.loads(str_contents)
7675

7776
# Basic check that each version element is found in output
78-
version_elements = dict(system = _get_sys_info(), dependencies = _get_dependency_info())
77+
version_elements = {
78+
"system": _get_sys_info(),
79+
"dependencies": _get_dependency_info(),
80+
}
7981

80-
assert version_elements == dict_check
82+
assert version_elements == dict_check
8183

8284

8385
def test_json_output_match(capsys, tmpdir):

0 commit comments

Comments
 (0)