diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2024-09-23 22:19:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 22:19:35 (GMT) |
commit | 8a2baedc4bcb606da937e4e066b4b3a18961cace (patch) | |
tree | 06e45d632655099faa09aa5719d51b595d86513b /Lib/test/test_os.py | |
parent | 0060486862bfa8e6583beb627be154daaaaa9e2a (diff) | |
download | cpython-8a2baedc4bcb606da937e4e066b4b3a18961cace.zip cpython-8a2baedc4bcb606da937e4e066b4b3a18961cace.tar.gz cpython-8a2baedc4bcb606da937e4e066b4b3a18961cace.tar.bz2 |
Bump Ruff to 0.6.7 (#124384)
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r-- | Lib/test/test_os.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 9fa4e40..307f0f1 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -3177,7 +3177,8 @@ class Win32NtTests(unittest.TestCase): def test_getfinalpathname_handles(self): nt = import_helper.import_module('nt') ctypes = import_helper.import_module('ctypes') - import ctypes.wintypes + # Ruff false positive -- it thinks we're redefining `ctypes` here + import ctypes.wintypes # noqa: F811 kernel = ctypes.WinDLL('Kernel32.dll', use_last_error=True) kernel.GetCurrentProcess.restype = ctypes.wintypes.HANDLE |