From 19099f9ce7e8d6cb1f5cafae318859be8c082ca2 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Wed, 20 Apr 2016 00:07:22 +0200 Subject: Python 3 compat fixes Specifically "string_escape" does not exist as an encoding anymore. --- git/test/test_diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/test/test_diff.py') 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 -- cgit v1.2.1