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)