summaryrefslogtreecommitdiff
path: root/git/test/lib/helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r--git/test/lib/helper.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py
index 1c06010f..d7a4c436 100644
--- a/git/test/lib/helper.py
+++ b/git/test/lib/helper.py
@@ -17,7 +17,7 @@ import textwrap
import time
import unittest
-from git.compat import string_types, is_win
+from git.compat import is_win
from git.util import rmtree, cwd
import gitdb
@@ -117,7 +117,7 @@ def with_rw_repo(working_tree_ref, bare=False):
To make working with relative paths easier, the cwd will be set to the working
dir of the repository.
"""
- assert isinstance(working_tree_ref, string_types), "Decorator requires ref name for working tree checkout"
+ assert isinstance(working_tree_ref, str), "Decorator requires ref name for working tree checkout"
def argument_passer(func):
@wraps(func)
@@ -248,7 +248,7 @@ def with_rw_and_rw_remote_repo(working_tree_ref):
"""
from git import Git, Remote # To avoid circular deps.
- assert isinstance(working_tree_ref, string_types), "Decorator requires ref name for working tree checkout"
+ assert isinstance(working_tree_ref, str), "Decorator requires ref name for working tree checkout"
def argument_passer(func):