summaryrefslogtreecommitdiff
path: root/git/test/test_submodule.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_submodule.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_submodule.py')
-rw-r--r--git/test/test_submodule.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py
index 0a6c4880..9e79a72c 100644
--- a/git/test/test_submodule.py
+++ b/git/test/test_submodule.py
@@ -423,10 +423,10 @@ class TestSubmodule(TestBase):
self._do_base_tests(rwrepo)
@skipIf(HIDE_WINDOWS_KNOWN_ERRORS and sys.version_info[:2] == (3, 5), """
- File "C:\projects\gitpython\git\cmd.py", line 559, in execute
+ File "C:\\projects\\gitpython\\git\\cmd.py", line 559, in execute
raise GitCommandNotFound(command, err)
git.exc.GitCommandNotFound: Cmd('git') not found due to: OSError('[WinError 6] The handle is invalid')
- cmdline: git clone -n --shared -v C:\projects\gitpython\.git Users\appveyor\AppData\Local\Temp\1\tmplyp6kr_rnon_bare_test_root_module""") # noqa E501
+ cmdline: git clone -n --shared -v C:\\projects\\gitpython\\.git Users\\appveyor\\AppData\\Local\\Temp\\1\\tmplyp6kr_rnon_bare_test_root_module""") # noqa E501
@with_rw_repo(k_subm_current, bare=False)
def test_root_module(self, rwrepo):
# Can query everything without problems
@@ -664,7 +664,7 @@ class TestSubmodule(TestBase):
# end for each checkout mode
@skipIf(HIDE_WINDOWS_KNOWN_ERRORS and Git.is_cygwin(),
- """FIXME: ile "C:\projects\gitpython\git\cmd.py", line 671, in execute
+ """FIXME: ile "C:\\projects\\gitpython\\git\\cmd.py", line 671, in execute
raise GitCommandError(command, status, stderr_value, stdout_value)
GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git add 1__Xava verbXXten 1_test _myfile 1_test_other_file 1_XXava-----verbXXten