[0.3.x] fix: workitem 13815 test (TypeInfoTest.testFunctionArgs)

git-svn-id: https://pykd.svn.codeplex.com/svn@90905 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\EreTIk_cp 2016-01-12 15:21:35 +00:00 committed by Mikhail I. Izmestev
parent 85442381a8
commit ea0781cc4b

View File

@ -265,7 +265,7 @@ class TypeInfoTest( unittest.TestCase ):
self.assertEqual( [ arg.name() for arg in functype ], ["Int4B", "Float"] ) self.assertEqual( [ arg.name() for arg in functype ], ["Int4B", "Float"] )
functype = target.module.typedVar( "g_variadicFuncPtr" ).type().deref() functype = target.module.typedVar( "g_variadicFuncPtr" ).type().deref()
self.assertEqual( [ arg.name() for arg in functype ], ["Int4B", "..."] ) self.assertEqual( [ arg.name() for arg in functype ], ["Int4B", "NoType"] )
def testFunctionCallConv(self): def testFunctionCallConv(self):
functype = target.module.typedVar( "CdeclFuncPtr" ).type().deref() functype = target.module.typedVar( "CdeclFuncPtr" ).type().deref()