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‎

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

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

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

477477
# read limit

0 commit comments

Comments
(0)