aboutsummaryrefslogtreecommitdiff
path: root/test/test_compat.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-11-23 00:43:42 +0700
committerSergey M․ <dstftw@gmail.com>2018-11-23 00:43:42 +0700
commit6864855eb111dbf6e0efe9ed086f48efa1d9f209 (patch)
treee00494a05ba6ee85096b781e618a64093be7b1d2 /test/test_compat.py
parentd861a9d5814408973e0715bb9160fb7db34fbcd0 (diff)
[tests] Fix invalid escape sequences
Diffstat (limited to 'test/test_compat.py')
-rw-r--r--test/test_compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_compat.py b/test/test_compat.py
index d6c54e135..51fe6aa0b 100644
--- a/test/test_compat.py
+++ b/test/test_compat.py
@@ -39,7 +39,7 @@ class TestCompat(unittest.TestCase):
def test_compat_expanduser(self):
old_home = os.environ.get('HOME')
- test_str = 'C:\Documents and Settings\тест\Application Data'
+ test_str = r'C:\Documents and Settings\тест\Application Data'
compat_setenv('HOME', test_str)
self.assertEqual(compat_expanduser('~'), test_str)
compat_setenv('HOME', old_home or '')