Skip to content

Commit 12225ec

Browse files
committed
Fix Windows tests: mark path string as raw
1 parent 121ec1f commit 12225ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_gettext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def test_ignore_comments_in_headers_issue36239(self):
668668
@property
669669
def expected_filename(self):
670670
if sys.platform == 'win32':
671-
return 'xx\\LC_MESSAGES\\gettext.mo'
671+
return r'xx\\LC_MESSAGES\\gettext.mo'
672672
return 'xx/LC_MESSAGES/gettext.mo'
673673

674674
def test_raise_descriptive_error_for_incorrect_content_type(self):

0 commit comments

Comments
 (0)