mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Check for None/NULL before the other types.
This commit is contained in:
@@ -74,6 +74,11 @@ class pgvariant_Tests(wtc.WidgetTestCase):
|
||||
|
||||
|
||||
|
||||
@unittest.skipIf(not hasattr(pg, 'testPGVariantTypemap'), '')
|
||||
def test_pgvariant9(self):
|
||||
d1 = None
|
||||
d2 = pg.testPGVariantTypemap(d1)
|
||||
self.assertTrue(d2 is None)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user