Skip to content

Commit 1ad29f2

Browse files
committed
Fix byteswarning in test
1 parent 5c1e360 commit 1ad29f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_zstd/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ def test_as_prefix(self):
14771477
# V2
14781478
mid = len(V1) // 2
14791479
V2 = V1[:mid] + \
1480-
(b'a' if V1[mid] != b'a' else b'b') + \
1480+
(b'a' if V1[mid] != int.from_bytes(b'a') else b'b') + \
14811481
V1[mid+1:]
14821482

14831483
# compress

0 commit comments

Comments
 (0)