Pass {posargs} to py.test so arguments can be passed through tox
MODIFY
tox.ini
tox.ini
@@ -16,7 +16,7 @@ commands=
python --version
python -c "import struct; print(struct.calcsize('P') * 8)"
pip install .[socks,secure]
- py.test --cov urllib3 test
+ py.test --cov urllib3 test {posargs}
setenv =
PYTHONWARNINGS=always::DeprecationWarning
passenv = CFLAGS LDFLAGS TRAVIS APPVEYOR CRYPTOGRAPHY_OSX_NO_LINK_FLAGS

Pass {posargs} to py.test so arguments can be passed through tox