Skip to content

Commit 4b24773

Browse files
authored
Nit
1 parent 213b08f commit 4b24773

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/io/sas/test_sas7bdat.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ def test_rle_rdc_exceptions(
362362
datapath, test_file, override_offset, override_value, expected_msg
363363
):
364364
"""Errors in RLE/RDC decompression should propagate."""
365-
with open(datapath("io", "sas", "data", test_file), "rb") as f:
366-
data = bytearray(f.read())
365+
with open(datapath("io", "sas", "data", test_file), "rb") as fd:
366+
data = bytearray(fd.read())
367367
data[override_offset] = override_value
368368
with pytest.raises(Exception, match=expected_msg):
369369
pd.read_sas(io.BytesIO(data), format="sas7bdat")

0 commit comments

Comments
 (0)