Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5324565

Browse files
committed
Fix tests
1 parent6271586 commit5324565

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)

[8]ページ先頭

©2009-2025 Movatter.jp