FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix Stream.Read return type in test · pythonnet/pythonnet@6e4d07f · GitHub

Repository navigation

Commit 6e4d07f

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL