From 768b9fffa58e82d6aa1f799bd5caebede9c9231b Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 7 Feb 2020 06:20:23 -0600 Subject: Remove and replace compat.string_types --- git/test/test_repo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'git/test/test_repo.py') diff --git a/git/test/test_repo.py b/git/test/test_repo.py index 2d38f150..8ea18aa4 100644 --- a/git/test/test_repo.py +++ b/git/test/test_repo.py @@ -38,7 +38,6 @@ from git import ( ) from git.compat import ( is_win, - string_types, win_encode, ) from git.exc import ( @@ -441,7 +440,7 @@ class TestRepo(TestBase): # test the 'lines per commit' entries tlist = b[0][1] assert_true(tlist) - assert_true(isinstance(tlist[0], string_types)) + assert_true(isinstance(tlist[0], str)) assert_true(len(tlist) < sum(len(t) for t in tlist)) # test for single-char bug # BINARY BLAME -- cgit v1.2.1