diff options
author | Bernát Gábor <gaborjbernat@gmail.com> | 2022-12-26 17:09:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-26 09:09:40 -0800 |
commit | acac244f85172dc1a4ad3e9fe2b9cfcbd7ce5e6d (patch) | |
tree | aa4c12b4e76a6a8decd271a20bf1942d8abe7e3e /tests | |
parent | d970c765a68b71bff56283eb6fa5aef17c5e97fc (diff) | |
download | tox-git-acac244f85172dc1a4ad3e9fe2b9cfcbd7ce5e6d.tar.gz |
Handle whitespace around requirements (#2779)
Resolves https://github.com/tox-dev/tox/issues/2773
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tox_env/python/pip/req/test_file.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tox_env/python/pip/req/test_file.py b/tests/tox_env/python/pip/req/test_file.py index a24394d7..9e4e51a2 100644 --- a/tests/tox_env/python/pip/req/test_file.py +++ b/tests/tox_env/python/pip/req/test_file.py @@ -272,6 +272,13 @@ _REQ_FILE_TEST_CASES = [ ["attrs"], id="sha512 hash is supported", ), + pytest.param( + "\tp @ https://github.com/a/b/c/d.zip ", + {}, + ["p@ https://github.com/a/b/c/d.zip"], + ["p@ https://github.com/a/b/c/d.zip"], + id="whitespace around", + ), ] |