Skip to content

Commit aab3e35

Browse files
committed
BUG: Fix extra space and lint (39701)
1 parent bdf76df commit aab3e35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/whatsnew/v1.3.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ Other
461461
- Bug in :class:`Styler` where ``subset`` arg in methods raised an error for some valid multiindex slices (:issue:`33562`)
462462
- :class:`Styler` rendered HTML output minor alterations to support w3 good code standard (:issue:`39626`)
463463
- Bug in :meth:`DataFrame.equals`, :meth:`Series.equals`, :meth:`Index.equals` with object-dtype containing ``np.datetime64("NaT")`` or ``np.timedelta64("NaT")`` (:issue:`39650`)
464-
- Bug in :func: `pandas.util.show_versions` where console JSON output was not proper JSON (:issue:`39701`)
464+
- Bug in :func:`pandas.util.show_versions` where console JSON output was not proper JSON (:issue:`39701`)
465465

466466

467467
.. ---------------------------------------------------------------------------

pandas/tests/util/test_show_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test_show_versions(capsys, as_json, tmpdir):
7777

7878
# Basic check that each version element is found in output
7979
version_elements = {**_get_sys_info, **_get_dependency_info}
80-
assert all([v in string_check and k in string_check for k, v in version_elements])
80+
assert all(v in string_check and k in string_check for k, v in version_elements)
8181

8282

8383
def test_json_output_match(capsys, tmpdir):

0 commit comments

Comments
 (0)