From 2e1d646f994bbf6d2cc2a24833c0b21a938583e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Mon, 6 Jan 2020 18:11:43 +0100 Subject: [PATCH] checkout version curl-7_67_0 of curl for the tests. --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 5267a2e..2b6f692 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -11,7 +11,7 @@ def clone_curl(): git_url = 'https://github.com/curl/curl.git' repo_dir = './test_repos/curl' repo = Repo.clone_from(url=git_url, to_path=repo_dir) - repo.checkout('curl-7_67_0') + repo.heads['curl-7_67_0'].checkout() def teardown(): os.unlink(repo_dir)