summaryrefslogtreecommitdiff
path: root/git/test/test_git.py
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-03-09 11:40:20 +0200
committerSebastian Thiel <byronimo@gmail.com>2017-04-09 19:59:44 +0200
commit32da7feb496ef31c48b5cbe4e37a4c68ed1b7dd5 (patch)
tree8feb952f64aa97916e2e717b905916713f2d2246 /git/test/test_git.py
parent39335e6242c93d5ba75e7ab8d7926f5a49c119a3 (diff)
downloadgitpython-32da7feb496ef31c48b5cbe4e37a4c68ed1b7dd5.tar.gz
Python 3.6 invalid escape sequence deprecation fixes
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
Diffstat (limited to 'git/test/test_git.py')
-rw-r--r--git/test/test_git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_git.py b/git/test/test_git.py
index 3ab82b02..3c8b6f82 100644
--- a/git/test/test_git.py
+++ b/git/test/test_git.py
@@ -91,7 +91,7 @@ class TestGit(TestBase):
self.assertEqual(set(['-s', '-t']), set(res))
def test_it_executes_git_to_shell_and_returns_result(self):
- assert_match('^git version [\d\.]{2}.*$', self.git.execute(["git", "version"]))
+ assert_match(r'^git version [\d\.]{2}.*$', self.git.execute(["git", "version"]))
def test_it_accepts_stdin(self):
filename = fixture_path("cat_file_blob")