diff --git a/tests/snippets/stdlib_os.py b/tests/snippets/stdlib_os.py index ef9b9111d..d2e39c1ce 100644 --- a/tests/snippets/stdlib_os.py +++ b/tests/snippets/stdlib_os.py @@ -244,7 +244,7 @@ with TestWithTempDir() as tmpdir: with TestWithTempCurrentDir(): os.chdir(tmpdir) - assert os.getcwd() == tmpdir + assert os.getcwd() == os.path.realpath(tmpdir) os.path.exists(FILE_NAME) # supports