Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e4d07f

Browse files
committed
Fix Stream.Read return type in test
1 parent 9cf14a5 commit 6e4d07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/test_method.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ def test_we_can_bind_to_encoding_get_string():
737737
read = 1
738738

739739
while read > 0:
740-
read, _ = stream.Read(buff, 0, buff.Length)
740+
read = stream.Read(buff, 0, buff.Length)
741741
temp = Encoding.UTF8.GetString(buff, 0, read)
742742
data.append(temp)
743743

0 commit comments

Comments
 (0)