We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0e6a1d + fd0c3f5 commit edf2799Copy full SHA for edf2799
tests/test_utility.py
@@ -1,4 +1,7 @@
1
-from contextlib import nullcontext
+from contextlib import (
2
+ AbstractContextManager,
3
+ nullcontext,
4
+)
5
import platform
6
7
import pandas as pd
@@ -16,7 +19,7 @@
16
19
def test_show_version():
17
20
"""Test show_versions method types with split case for pandas and python versions."""
18
21
# https://github.com/PyTables/PyTables/issues/1172
- context = nullcontext()
22
+ context: AbstractContextManager = nullcontext()
23
if PD_LTE_22:
24
# distutils warning is only raised with pandas<3.0.0
25
if NUMPY20:
0 commit comments