Fix some typos

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-10-04 21:39:16 +00:00
parent ccce9f71f0
commit 019fd15013
2 changed files with 3 additions and 3 deletions

View File

@@ -162,7 +162,7 @@ def run():
}
return cgctx;
#else
wxPyRaiseNotImplemented
wxPyRaiseNotImplemented();
_isErr = 1;
return NULL;
#endif""")

View File

@@ -117,8 +117,8 @@ class DCTests(wtc.WidgetTestCase):
h = dc.GetCGContext()
self.assertNotEqual(h, 0)
else:
with self.assertRaises(NotImplemented):
h = dc.GetGCContext()
with self.assertRaises(NotImplementedError):
h = dc.GetCGContext()
def test_trickyStuff(self):
# execute some tricky tweaks to make sure they work are as they are supposed to.