10000 Update unit test for Requests 2.12.x · krishvarag/github3.py@bcb3763 · GitHub
[go: up one dir, main page]

Skip to content

Commit bcb3763

Browse files
committed
Update unit test for Requests 2.12.x
1 parent 767e598 commit bcb3763

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/test_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def test_boolean_raises_exception(self):
7575
"""Verify boolean tests for response codes correctly."""
7676
response = requests.Response()
7777
response.status_code = 512
78+
response.raw = io.BytesIO()
7879
with pytest.raises(exceptions.GitHubError):
7980
self.instance._boolean(response=response,
8081
true_code=200,

0 comm 308A it comments

Comments
 (0)
0