summaryrefslogtreecommitdiff
path: root/git/test/test_diff.py
diff options
context:
space:
mode:
authorVincent Driessen <me@nvie.com>2016-04-20 00:07:22 +0200
committerVincent Driessen <me@nvie.com>2016-04-20 00:12:55 +0200
commit19099f9ce7e8d6cb1f5cafae318859be8c082ca2 (patch)
tree29e5a3d429b5e1ce54f2feadfe342bb4030b960d /git/test/test_diff.py
parent7fbc182e6d4636f67f44e5893dee3dcedfa90e04 (diff)
downloadgitpython-19099f9ce7e8d6cb1f5cafae318859be8c082ca2.tar.gz
Python 3 compat fixes
Specifically "string_escape" does not exist as an encoding anymore.
Diffstat (limited to 'git/test/test_diff.py')
-rw-r--r--git/test/test_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_diff.py b/git/test/test_diff.py
index 7bca0c2a..858b3994 100644
--- a/git/test/test_diff.py
+++ b/git/test/test_diff.py
@@ -158,7 +158,7 @@ class TestDiff(TestBase):
self.assertEqual(res[5].b_path, u'path/with\nnewline')
self.assertEqual(res[6].b_path, u'path/with spaces')
self.assertEqual(res[7].b_path, u'path/with-question-mark?')
- self.assertEqual(res[8].b_path, ur'path/¯\_(ツ)_|¯')
+ self.assertEqual(res[8].b_path, u'path/¯\\_(ツ)_|¯')
# The "Moves"
# NOTE: The path prefixes a/ and b/ here are legit! We're actually