Skip to content
Myr

[add] add NORMALIZE_WHITESPACE and ELLIPSIS to pytest.ini and remove them from requests/__init__.py

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

authored by aless10 · committed by aless10 · parent 96ff7ca · Browse files · 2 files+2 added−3 removed
This commit

State

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

Diff stats

2 files+2 added−3 removed

  • other:+2 added−3 removed

2 files+2 added−3 removed

modified:requests/__init__.py-2 removed
22 unmodified lines
2324 >>> payload = dict(key1='value1', key2='value2')25 >>> r = requests.post('https://httpbin.org/post', data=payload)26 >>> print(r.text)27 ... # doctest: +ELLIPSIS28 ... # doctest: +NORMALIZE_WHITESPACE27 {28 ...29 "form": {30 "key1": "value1",
101 unmodified lines
modified:pytest.ini+2 added-1 removed
1[pytest]2addopts = -p no:warnings --doctest-modules2addopts = -p no:warnings --doctest-modules3doctest_optionflags= NORMALIZE_WHITESPACE ELLIPSIS