diff options
author | 2xB <31772910+2xB@users.noreply.github.com> | 2019-04-12 01:10:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-12 01:10:33 +0200 |
commit | 0259db3b7aaaff9d0dfdde48e9dbc0361d3ab47f (patch) | |
tree | 2a5b0f24135b2a5368a80d74f67eac70785c54d5 /setuptools/tests/test_packageindex.py | |
parent | 01376621f092f9d448e1bf0e1e669bda15b73809 (diff) | |
download | python-setuptools-git-0259db3b7aaaff9d0dfdde48e9dbc0361d3ab47f.tar.gz |
Updated test to check for changed git rev checkout
Checking for new implementation solving issue #1740
Diffstat (limited to 'setuptools/tests/test_packageindex.py')
-rw-r--r-- | setuptools/tests/test_packageindex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_packageindex.py b/setuptools/tests/test_packageindex.py index ab371884..60d968fd 100644 --- a/setuptools/tests/test_packageindex.py +++ b/setuptools/tests/test_packageindex.py @@ -249,7 +249,7 @@ class TestPackageIndex: first_call_args = os_system_mock.call_args_list[0][0] assert first_call_args == (expected,) - tmpl = '(cd {expected_dir} && git checkout --quiet master)' + tmpl = 'git -C {expected_dir} checkout --quiet master' expected = tmpl.format(**locals()) assert os_system_mock.call_args_list[1][0] == (expected,) assert result == expected_dir |