Fix py26 testing for OSX, assertIsNotNone unavailable for py26

This commit is contained in:
Miguel Angel Ajo 2014-02-10 10:15:48 +01:00
parent 788b38c09b
commit 26ca1ad03d
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class TestBoardClass(unittest.TestCase):
self.assertTrue(result) self.assertTrue(result)
pcb2 = LoadBoard(self.FILENAME) pcb2 = LoadBoard(self.FILENAME)
self.assertIsNotNone(pcb2) self.assertNotEqual(pcb2,None)
tb = pcb2.GetTitleBlock() tb = pcb2.GetTitleBlock()
self.assertEqual(tb.GetTitle(),self.TITLE) self.assertEqual(tb.GetTitle(),self.TITLE)