Skip to content

Commit b3665fd

Browse files
committed
misc fix, b'\xdd' -> 0xdd
1 parent dffc9cd commit b3665fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_array.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ def reduce_ex2(b, a):
17911791
def reduce_ex3(b, a):
17921792
b.wait()
17931793
c = a.__reduce_ex__(3)
1794-
assert not c[1] or b'\xdd' not in c[1][3]
1794+
assert not c[1] or 0xdd not in c[1][3]
17951795

17961796
def copy(b, a):
17971797
b.wait()
@@ -1875,7 +1875,7 @@ def iter_next(b, a, it): # MODIFIES ITERATOR!
18751875
def iter_reduce(b, a, it):
18761876
b.wait()
18771877
c = it.__reduce__()
1878-
assert not c[1] or b'\xdd' not in c[1][0]
1878+
assert not c[1] or 0xdd not in c[1][0]
18791879

18801880
def check(funcs, a=None, *args):
18811881
if a is None:

0 commit comments

Comments
 (0)