From 9a4e8f671f74751ff09b807a4cd6b75f0d71707c Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Thu, 25 Aug 2022 16:48:49 +0100 Subject: [PATCH] Actually call unlink, and add more typing --- cibuildwheel/windows.py | 2 +- test/test_testing.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index 5c2d1f0a..37d2d7f4 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -175,7 +175,7 @@ def setup_setuptools_cross_compile( ) return else: - atexit.register(lambda: distutils_cfg.unlink) + atexit.register(lambda: distutils_cfg.unlink()) # Ensure our additional import libraries are made available, and explicitly # set the platform name diff --git a/test/test_testing.py b/test/test_testing.py index 8bff55aa..39e2d7cb 100644 --- a/test/test_testing.py +++ b/test/test_testing.py @@ -72,7 +72,7 @@ class TestSpam(TestCase): ''' -ADD_ENV = {} +ADD_ENV: dict[str, str] = {} if utils.platform == "windows": if platform.machine() != "ARM64":