summaryrefslogtreecommitdiff
path: root/git/test/test_repo.py
diff options
context:
space:
mode:
authorHarmon <Harmon758@gmail.com>2020-02-25 11:04:34 -0600
committerHarmon <Harmon758@gmail.com>2020-02-25 11:04:34 -0600
commitd39bd5345af82e3acbdc1ecb348951b05a5ed1f6 (patch)
treedfccb83bafd000d0704d473e1090a4158da136f9 /git/test/test_repo.py
parentac286162b577c35ce855a3048c82808b30b217a8 (diff)
downloadgitpython-d39bd5345af82e3acbdc1ecb348951b05a5ed1f6.tar.gz
Remove now unnecessary explicit Unicode string literal prefixes
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r--git/test/test_repo.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index 6fcbc17a..590e303e 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -453,7 +453,7 @@ class TestRepo(TestBase):
self.assertEqual(commits, ['82b8902', '82b8902', 'c76852d', 'c76852d', 'c76852d'])
# Original filenames
- self.assertSequenceEqual([entry.orig_path for entry in blame_output], [u'AUTHORS'] * len(blame_output))
+ self.assertSequenceEqual([entry.orig_path for entry in blame_output], ['AUTHORS'] * len(blame_output))
# Original line numbers
orig_ranges = flatten([entry.orig_linenos for entry in blame_output])
@@ -478,10 +478,10 @@ class TestRepo(TestBase):
def test_untracked_files(self, rwrepo):
for run, repo_add in enumerate((rwrepo.index.add, rwrepo.git.add)):
base = rwrepo.working_tree_dir
- files = (join_path_native(base, u"%i_test _myfile" % run),
+ files = (join_path_native(base, "%i_test _myfile" % run),
join_path_native(base, "%i_test_other_file" % run),
- join_path_native(base, u"%i__çava verböten" % run),
- join_path_native(base, u"%i_çava-----verböten" % run))
+ join_path_native(base, "%i__çava verböten" % run),
+ join_path_native(base, "%i_çava-----verböten" % run))
num_recently_untracked = 0
for fpath in files: