Skip to content

Commit ff89124

Browse files
committed
Merge branch 'main' into perf-sas-strings-2
2 parents d96c788 + ea80cd0 commit ff89124

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Run zizmor 🌈
28-
uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7
28+
uses: zizmorcore/zizmor-action@6fc4b006235f201fdab3722e17240ab420d580e5 # v0.6.1

pandas/tests/io/sas/test_sas7bdat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,11 +524,11 @@ def test_rdc_overlapping_back_reference(datapath):
524524
# rewritten to expand 8 bytes from 4 back.
525525
with open(datapath("io", "sas", "data", "test11.sas7bdat"), "rb") as fd:
526526
data = bytearray(fd.read())
527-
original = pd.read_sas(io.BytesIO(bytes(data)), format="sas7bdat")
527+
original = pd.read_sas(io.BytesIO(bytes(data)), format="sas7bdat", encoding=None)
528528

529529
assert data[120922:120924] == b"\x8d\x00"
530530
data[120922:120924] = b"\x81\x00"
531-
result = pd.read_sas(io.BytesIO(bytes(data)), format="sas7bdat")
531+
result = pd.read_sas(io.BytesIO(bytes(data)), format="sas7bdat", encoding=None)
532532

533533
# Column11 is bytes 56-63 of the row and is now copied from byte 52, so it
534534
# repeats the second half of Column9 (bytes 48-55) twice. The fixture is

0 commit comments

Comments
 (0)