Skip to content

Commit 535c3ed

Browse files
committed
refactor: use Path.resolve()
1 parent da0eb65 commit 535c3ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/basic/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ def test_read_option_with_external_file(dummy_io, git_temp_dir, tmp_path):
768768
return_coder=True,
769769
)
770770

771-
real_external_file_path = os.path.realpath(str(external_file))
771+
real_external_file_path = str(external_file.resolve())
772772
assert real_external_file_path in coder.abs_read_only_fnames
773773

774774

0 commit comments

Comments
 (0)