We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4783444 commit e338326Copy full SHA for e338326
1 file changed
tests/test_pathtools.py
@@ -59,14 +59,17 @@ def test_parse_path_windows_newline():
59
}
60
61
62
-
63
def test_parse_path_windows_tabs_and_lines():
64
- r"""Test non-raw string containing newline \n and tab \t sequences."""
+ r"""Test non-raw string containing newline `\n` and tab `\t` sequences.
+
65
+ As `parse_path()` cannot work on non-raw strings containing escape
66
+ sequences, the parsed result will not be the expected one.
67
+ """
68
path = "C:\new_folder\test"
69
parsed = parse_path(path)
70
- assert parsed["full"] == r"C:\new_folder\test"
- assert parsed["fname"] == "test"
71
+ assert parsed["full"] != r"C:\new_folder\test"
72
+ assert parsed["fname"] != "test"
73
74
75
def test_jython_fiji_exists(tmpdir):
0 commit comments