From 26ca1ad03def7da5202162b9a674626aeed02f69 Mon Sep 17 00:00:00 2001 From: Miguel Angel Ajo Date: Mon, 10 Feb 2014 10:15:48 +0100 Subject: [PATCH] Fix py26 testing for OSX, assertIsNotNone unavailable for py26 --- qa/testcases/test_002_board_class.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/testcases/test_002_board_class.py b/qa/testcases/test_002_board_class.py index 79773ba0c3..98f82abc29 100644 --- a/qa/testcases/test_002_board_class.py +++ b/qa/testcases/test_002_board_class.py @@ -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)