diff --git a/tests/regr_test.py b/tests/regr_test.py index ef53c5b1ddd7..c8fc9e91202c 100755 --- a/tests/regr_test.py +++ b/tests/regr_test.py @@ -184,7 +184,6 @@ def run_testcases( "--no-incremental", # Not useful for the test cases "--disable-error-code=empty-body", - "--disable-error-code=overload-overlap", ] if package.is_stdlib: diff --git a/tests/stubtest_stdlib.py b/tests/stubtest_stdlib.py index bc3f2dae8959..28ec3776062c 100755 --- a/tests/stubtest_stdlib.py +++ b/tests/stubtest_stdlib.py @@ -36,7 +36,7 @@ def run_stubtest(typeshed_dir: Path) -> int: *allowlist_stubtest_arguments("stdlib"), # Options for mypy check before the stubtest: "--mypy-config-file", - str(temp), + temp.name, ] if sys.version_info < (3, 10): # As discussed in https://github.com/python/typeshed/issues/3693, we only aim for