1. Ronald Oussoren
  2. pyobjc

Commits

Ronald Oussoren  committed 644e730

CF proxy classes shouldn't be registered with the ObjC runtime,
they are an internal detail of PyObjC.

This only updates the testsuite, actual fix will follow later.

  • Participants
  • Parent commits b49c639
  • Branches pyobjc2

Comments (0)

Files changed (1)

File pyobjc-core/Lib/objc/test/test_corefoundation.py

View file
             r'[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}', 
             formatted) )
 
+        self.assertRaises(objc.error, objc.lookUpClass, "CFUUIDRef")
+
 
         # AnotherUUID claims to return an Object (objc._C_ID), check that
         # we correctly return an object of the right type in that case as well.