File support-packaging-26.patch of Package python-tox
Index: tox-4.34.1/tests/tox_env/python/pip/req/test_file.py
===================================================================
--- tox-4.34.1.orig/tests/tox_env/python/pip/req/test_file.py
+++ tox-4.34.1/tests/tox_env/python/pip/req/test_file.py
@@ -207,8 +207,8 @@ _REQ_FILE_TEST_CASES = [
pytest.param(
"numpy[2,1] @ file://./downloads/numpy-1.9.2-cp34-none-win32.whl",
{},
- ["numpy[1,2]@ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"],
- ["numpy[1,2]@ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"],
+ ["numpy[1,2] @ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"],
+ ["numpy[1,2] @ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"],
id="path with name-extra-protocol",
),
pytest.param(
@@ -330,8 +330,8 @@ _REQ_FILE_TEST_CASES = [
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"],
+ ["p @ https://github.com/a/b/c/d.zip"],
+ ["p @ https://github.com/a/b/c/d.zip"],
id="whitespace around",
),
]