Skip to content

Commit edf2799

Browse files
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs
2 parents c0e6a1d + fd0c3f5 commit edf2799

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/test_utility.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
from contextlib import nullcontext
1+
from contextlib import (
2+
AbstractContextManager,
3+
nullcontext,
4+
)
25
import platform
36

47
import pandas as pd
@@ -16,7 +19,7 @@
1619
def test_show_version():
1720
"""Test show_versions method types with split case for pandas and python versions."""
1821
# https://github.com/PyTables/PyTables/issues/1172
19-
context = nullcontext()
22+
context: AbstractContextManager = nullcontext()
2023
if PD_LTE_22:
2124
# distutils warning is only raised with pandas<3.0.0
2225
if NUMPY20:

0 commit comments

Comments
 (0)