Skip to content
Myr

Merge pull request #4056 from Lukasa/pytest-httpbin-fix

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

Disable pytest messing with warnings.

authored by Cory Benfield · committed by GitHub · parents dbb67a1, f3d310b · Browse files · 3 files+4 added−2 removed
This commit

State

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

Diff stats

3 files+4 added−2 removed

  • other:+4 added−2 removed

3 files+4 added−2 removed

modified:MANIFEST.in+1 added-1 removed
1include README.rst LICENSE NOTICE HISTORY.rst requests/cacert.pem1include README.rst LICENSE NOTICE HISTORY.rst pytest.ini requests/cacert.pem2recursive-include tests *.py
added:pytest.ini+2 added
1[pytest]2addopts = -p no:warnings
modified:setup.py+1 added-1 removed
49 unmodified lines
5051requires = []52test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock']5354with open('requests/__init__.py', 'r') as fd:54with open('requests/__init__.py', 'r', 'utf-8') as fd:55 version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',56 fd.read(), re.MULTILINE).group(1)5758if not version:
47 unmodified lines