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.
1 parent 59e0284 commit fd96240Copy full SHA for fd96240
pandas/tests/io/parser/common/test_common_basic.py
@@ -827,11 +827,11 @@ def test_malformed_second_line(all_parsers):
827
828
def test_read_table_posargs_deprecation(all_parsers):
829
# https://github.com/pandas-dev/pandas/issues/41485
830
- f = StringIO("a\tb\n1\t2")
+ data = StringIO("a\tb\n1\t2")
831
parser = all_parsers
832
msg = (
833
"In a future version of pandas all arguments of read_table "
834
"except for the argument 'filepath_or_buffer' will be keyword-only"
835
)
836
with tm.assert_produces_warning(FutureWarning, match=msg):
837
- parser.read_table(f, " ")
+ parser.read_table(data, " ")
0 commit comments