mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 06:46:15 +00:00
[add] add NORMALIZE_WHITESPACE and ELLIPSIS to pytest.ini and remove them from requests/__init__.py
This commit is contained in:
+2
-1
@@ -1,2 +1,3 @@
|
||||
[pytest]
|
||||
addopts = -p no:warnings --doctest-modules
|
||||
addopts = -p no:warnings --doctest-modules
|
||||
doctest_optionflags= NORMALIZE_WHITESPACE ELLIPSIS
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user