Commits

Ronald Oussoren committed 778d1ba

test_testsupport fix

  • Participants
  • Parent commits 4ba98d9
  • Branches pyobjc-2.5.x

Comments (0)

Files changed (1)

File pyobjc-core/PyObjCTest/test_testsupport.py

 
     def test_assert_cftype(self):
         self.assertRaises(AssertionError, self.assertIsCFType, long)
-        self.assertRaises(AssertionError, self.assertIsCFType, objc.lookUpClass('NSObject'))
         self.assertRaises(AssertionError, self.assertIsCFType, objc.lookUpClass('NSCFType'))
 
+        self.assertIsCFType(objc.lookUpClass('NSObject'))
+        #self.assertRaises(AssertionError, self.assertIsCFType, objc.lookUpClass('NSObject'))
+
         class OC_OPAQUE_TEST_1 (objc.lookUpClass('NSCFType')): pass
         try:
             self.assertIsCFType(OC_OPAQUE_TEST_1)