diff --git a/test_requests.py b/test_requests.py index e8b64b4c..1053666e 100755 --- a/test_requests.py +++ b/test_requests.py @@ -1618,7 +1618,7 @@ def test_prepare_unicode_url(): def test_prepare_requires_a_request_method(): - req = Request() + req = requests.Request() with pytest.raises(ValueError): req.prepare()