diff --git a/mypy/test/config.py b/mypy/test/config.py index 2dc4208b1e9d..7dd5e3806e6e 100644 --- a/mypy/test/config.py +++ b/mypy/test/config.py @@ -6,7 +6,7 @@ if provided_prefix: PREFIX = provided_prefix else: - this_file_dir = os.path.dirname(os.path.realpath(__file__)) + this_file_dir = os.path.dirname(os.path.abspath(__file__)) PREFIX = os.path.dirname(os.path.dirname(this_file_dir)) # Location of test data files such as test case descriptions.