summaryrefslogtreecommitdiff
path: root/tests/tox_env/python/test_python_api.py
diff options
context:
space:
mode:
authorBernát Gábor <bgabor8@bloomberg.net>2021-09-11 18:36:19 +0100
committerGitHub <noreply@github.com>2021-09-11 18:36:19 +0100
commit48da3664ecfee2173838f6604e73f48d579e56ce (patch)
treed0af2cedeed11ed0115087c0a59357b465da3a9f /tests/tox_env/python/test_python_api.py
parent957a280af356575b00ac6bee34fb02919e95766e (diff)
downloadtox-git-48da3664ecfee2173838f6604e73f48d579e56ce.tar.gz
Fix old-new value on recreate cache miss-match are swapped (#2212)
Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
Diffstat (limited to 'tests/tox_env/python/test_python_api.py')
-rw-r--r--tests/tox_env/python/test_python_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tox_env/python/test_python_api.py b/tests/tox_env/python/test_python_api.py
index aa588d44..2204a22a 100644
--- a/tests/tox_env/python/test_python_api.py
+++ b/tests/tox_env/python/test_python_api.py
@@ -60,7 +60,7 @@ def test_build_wheel_in_non_base_pkg_env(
def test_diff_msg_added_removed_changed() -> None:
before = {"A": "1", "F": "8", "C": "3", "D": "4", "E": "6"}
after = {"G": "9", "B": "2", "C": "3", "D": "5", "E": "7"}
- expected = "python added A='1' | F='8', removed G='9' | B='2', changed D='4'->'5' | E='6'->'7'"
+ expected = "python added A='1' | F='8', removed G='9' | B='2', changed D='5'->'4' | E='7'->'6'"
assert Python._diff_msg(before, after) == expected