You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
352 B
17 lines
352 B
import unittest, sys
|
|
from comtypes import IUnknown, GUID
|
|
from ctypes import *
|
|
|
|
def test_main():
|
|
from test import test_support
|
|
test_support.run_unittest(Test)
|
|
|
|
class Test(unittest.TestCase):
|
|
def test_subinterface(self):
|
|
class ISub(IUnknown):
|
|
pass
|
|
|
|
def test_subclass(self):
|
|
class X(c_void_p):
|
|
pass
|