Skip to content

Commit dec1cb0

Browse files
committed
Use .parent instead of '../'
1 parent e208461 commit dec1cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_tools/test_msgfmt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
skip_if_missing('i18n')
1414

15-
data_dir = (Path(__file__) / '../msgfmt_data').resolve()
15+
data_dir = (Path(__file__).parent / 'msgfmt_data').resolve()
1616
script_dir = Path(toolsdir) / 'i18n'
1717
msgfmt = script_dir / 'msgfmt.py'
1818

0 commit comments

Comments
 (0)