Skip to content
Myr

Add a test to ensure the alias does not regress

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ian Cordasco · committed by Ian Cordasco · parent 6ea3f2a · Browse files · 1 file+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−0 removed

  • other:+7 added−0 removed

1 file+7 added−0 removed

modified:test_requests.py+7 added
1596 unmodified lines
15971598 with pytest.raises(RetryError):1599 s.get(httpbin('status/500'))16001601def test_vendor_aliases():1602 from requests.packages import urllib31603 from requests.packages import chardet16041605 with pytest.raises(ImportError):1606 from requests.packages import webbrowser16071608if __name__ == '__main__':1609 unittest.main()