Commits

Manuel Jacob  committed 2afd626

Remove this temporary hack.

  • Participants
  • Parent commits 0dc0751
  • Branches py3k-memoryview

Comments (0)

Files changed (1)

File lib-python/3/test/support.py

 import logging.handlers
 import struct
 import tempfile
+import _testcapi
 
 try:
     import _thread, threading
 _TPFLAGS_HEAPTYPE = 1<<9
 
 def check_sizeof(test, o, size):
-    import _testcapi
     result = sys.getsizeof(o)
     # add GC header size
     if ((type(o) == type) and (o.__flags__ & _TPFLAGS_HEAPTYPE) or\