diff --git a/pytest.ini b/pytest.ini index 1f03c72f..13fa0000 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,2 +1,3 @@ [pytest] -addopts = -p no:warnings --doctest-modules \ No newline at end of file +addopts = -p no:warnings --doctest-modules +doctest_optionflags= NORMALIZE_WHITESPACE ELLIPSIS \ No newline at end of file diff --git a/requests/__init__.py b/requests/__init__.py index 8226e20f..3486f5e1 100644 --- a/requests/__init__.py +++ b/requests/__init__.py @@ -24,8 +24,6 @@ Basic GET usage: >>> payload = dict(key1='value1', key2='value2') >>> r = requests.post('https://httpbin.org/post', data=payload) >>> print(r.text) - ... # doctest: +ELLIPSIS - ... # doctest: +NORMALIZE_WHITESPACE { ... "form": {