diff --git a/tests/test_builtins.py b/tests/test_builtins.py index 04ec36502..8cf438306 100644 --- a/tests/test_builtins.py +++ b/tests/test_builtins.py @@ -26,7 +26,7 @@ def test_repath_backslash(): exp = os.listdir(home) exp = {p for p in exp if re.match(r'\w\w.*', p)} exp = {os.path.join(home, p) for p in exp} - obs = set(regexpath(r'~\\\w\w.*')) + obs = set(regexpath(r'~\\\\\w\w.*')) print("expected\n", exp) print("\n=======\nobs\n", obs) assert_equal(exp, obs)