File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3043,7 +3043,7 @@ def test_pack_version(self):
30433043
30443044 def test_pack_full_version_ctypes (self ):
30453045 ctypes = import_helper .import_module ('ctypes' )
3046- import ctypes .util
3046+ import ctypes .util # noqa: F811
30473047
30483048 @ctypes .util .wrap_dll_function (ctypes .pythonapi )
30493049 def Py_PACK_FULL_VERSION (
@@ -3062,7 +3062,7 @@ def Py_PACK_FULL_VERSION(
30623062
30633063 def test_pack_version_ctypes (self ):
30643064 ctypes = import_helper .import_module ('ctypes' )
3065- import ctypes .util
3065+ import ctypes .util # noqa: F811
30663066
30673067 @ctypes .util .wrap_dll_function (ctypes .pythonapi )
30683068 def Py_PACK_VERSION (
Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ def test_WindowsError(self):
440440 def test_windows_message (self ):
441441 """Should fill in unknown error code in Windows error message"""
442442 ctypes = import_module ('ctypes' )
443- import ctypes .util
443+ import ctypes .util # noqa: F811
444444
445445 @ctypes .util .wrap_dll_function (ctypes .pythonapi )
446446 def PyErr_SetFromWindowsErr (ierr : ctypes .c_int ) -> ctypes .py_object :
Original file line number Diff line number Diff line change @@ -821,7 +821,7 @@ class TestFrameCApi(unittest.TestCase):
821821 def test_basic (self ):
822822 x = 1
823823 ctypes = import_helper .import_module ('ctypes' )
824- import ctypes .util
824+ import ctypes .util # noqa: F811
825825
826826 @ctypes .util .wrap_dll_function (ctypes .pythonapi )
827827 def PyEval_GetFrameLocals () -> ctypes .py_object :
Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ def f(mutex):
326326 @cpython_only
327327 def test_PyThreadState_SetAsyncExc (self ):
328328 ctypes = import_module ("ctypes" )
329- import ctypes .util
329+ import ctypes .util # noqa: F811
330330
331331 @ctypes .util .wrap_dll_function (ctypes .pythonapi )
332332 def PyThreadState_SetAsyncExc (id : ctypes .c_ulong ,
You can’t perform that action at this time.
0 commit comments