From b8eff4c69a0b2b2c7d3d98305cdb3116d4e5d4f1 Mon Sep 17 00:00:00 2001 From: "SND\\EreTIk_cp" Date: Thu, 12 Sep 2013 08:53:23 +0000 Subject: [PATCH] [0.3.x] fix: Hresult as ULong git-svn-id: https://pykd.svn.codeplex.com/svn@85182 9b283d60-5439-405e-af05-b73fd8c4d996 --- test/scripts/typedvar.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/scripts/typedvar.py b/test/scripts/typedvar.py index e510c4e..4978edc 100644 --- a/test/scripts/typedvar.py +++ b/test/scripts/typedvar.py @@ -320,3 +320,7 @@ class TypedVarTest( unittest.TestCase ): for i in range( 0, 100000 ): lst.append(entry) entry = entry.deref().flink + + def testHresult(self): + tv = pykd.typedVar( "g_atlException" ) + self.assertEqual( tv.m_hr, 0x8000FFFF )