From 326409d7afd091c693f3c931654b054df6997d97 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 11 Aug 2019 14:56:39 +0800 Subject: Fix test bound to major version --- git/test/test_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/test') diff --git a/git/test/test_docs.py b/git/test/test_docs.py index 770f78e2..c14f5ff3 100644 --- a/git/test/test_docs.py +++ b/git/test/test_docs.py @@ -106,7 +106,7 @@ class Tutorials(TestBase): # [11-test_init_repo_object] assert now.commit.message != past.commit.message # You can read objects directly through binary streams, no working tree required - assert (now.commit.tree / 'VERSION').data_stream.read().decode('ascii').startswith('2') + assert (now.commit.tree / 'VERSION').data_stream.read().decode('ascii').startswith('3') # You can traverse trees as well to handle all contained files of a particular commit file_count = 0 -- cgit v1.2.3