Skip to content

Commit 6e95d7a

Browse files
authored
fix warning no-value-for-parameter in pandas/io (#48917)
fix warning no-value-for-parameter in pandas/core the warnings raised by pylint while scanning tests are not yet resolved Signed-off-by: Soumik Dutta <[email protected]> Signed-off-by: Soumik Dutta <[email protected]>
1 parent e43d75e commit 6e95d7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/excel/_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1662,7 +1662,7 @@ def __init__(
16621662
f"only the xls format is supported. Install openpyxl instead."
16631663
)
16641664
elif ext and ext != "xls":
1665-
stacklevel = find_stack_level()
1665+
stacklevel = find_stack_level(inspect.currentframe())
16661666
warnings.warn(
16671667
f"Your version of xlrd is {xlrd_version}. In xlrd >= 2.0, "
16681668
f"only the xls format is supported. Install "

0 commit comments

Comments
 (0)