Fix py26 testing for OSX, assertIsNotNone unavailable for py26
This commit is contained in:
parent
788b38c09b
commit
26ca1ad03d
|
@ -88,7 +88,7 @@ class TestBoardClass(unittest.TestCase):
|
|||
self.assertTrue(result)
|
||||
|
||||
pcb2 = LoadBoard(self.FILENAME)
|
||||
self.assertIsNotNone(pcb2)
|
||||
self.assertNotEqual(pcb2,None)
|
||||
|
||||
tb = pcb2.GetTitleBlock()
|
||||
self.assertEqual(tb.GetTitle(),self.TITLE)
|
||||
|
|
Loading…
Reference in New Issue