Skip to content

Commit 5324565

Browse files
committed
Fix tests
1 parent 6271586 commit 5324565

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git/test/test_repo.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def mktiny():
454454
assert s.readline() == l1
455455
assert s.readline() == l2
456456
assert s.readline() == l3
457-
assert s.readline() == ''
457+
assert s.readline() == b''
458458
assert s._stream.tell() == len(d)
459459

460460
# readline limit
@@ -465,13 +465,13 @@ def mktiny():
465465
# readline on tiny section
466466
s = mktiny()
467467
assert s.readline() == l1p
468-
assert s.readline() == ''
468+
assert s.readline() == b''
469469
assert s._stream.tell() == ts + 1
470470

471471
# read no limit
472472
s = mkfull()
473473
assert s.read() == d[:-1]
474-
assert s.read() == ''
474+
assert s.read() == b''
475475
assert s._stream.tell() == len(d)
476476

477477
# read limit

0 commit comments

Comments
 (0)