Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update imports
  • Loading branch information
vstinner committed Jun 20, 2022
commit 8f9aa7f55172f553ac0182536d320f2a26e95c3e
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_arrays.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from ctypes import *

from ctypes.test import need_symbol
from test.test_ctypes import need_symbol

formats = "bBhHiIlLqQfd"

Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_as_parameter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol
import _ctypes_test

dll = CDLL(_ctypes_test.__file__)
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_bitfields.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol
from test import support
import unittest
import os
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_buffers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol
import unittest

class StringBufferTestCase(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from test import support

from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol
from _ctypes import CTYPES_MAX_ARGCOUNT
import _ctypes_test

Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_cast.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol
import unittest
import sys

Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_cfuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import unittest
from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol

import _ctypes_test

Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_checkretval.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest

from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol

class CHECKED(c_int):
def _check_retval_(value):
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""

from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol
import sys, unittest

try:
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_memfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from test import support
import unittest
from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol

class MemFunctionsTest(unittest.TestCase):
@unittest.skip('test disabled')
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_parameters.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import unittest
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol
import test.support

class SimpleTypesTestCase(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_prototypes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol
import unittest

# IMPORTANT INFO:
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_slicing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol

import _ctypes_test

Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_strings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol

class StringArrayTestCase(unittest.TestCase):
def test(self):
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys
import unittest
from ctypes import *
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol
from struct import calcsize
import _ctypes_test
from test import support
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_unicode.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
import ctypes
from ctypes.test import need_symbol
from test.test_ctypes import need_symbol

import _ctypes_test

Expand Down