Re: [Pyobjc-dev] Deprecation warnings turned into BadPrototypeError
Brought to you by:
ronaldoussoren
|
From: Luc H. <lu...@ho...> - 2008-04-15 15:28:59
|
On 14 avr. 08, at 19:12, Luc Heinrich wrote:
> I'm still getting the BadPrototypeError, at the same places, in both
> my application and in the test snippet :/
The corresponding unit test fails as well btw:
% cd pyobjc-trunk/pyobjc-core
% python2.5 setup.py build
....
....
....
% python2.5 setup.py test
....
....
ERROR: testAllArgsOptional
(objc.test.test_method_prototypes.TestInheritedProtoype)
----------------------------------------------------------------------
Traceback (most recent call last):
File "build/lib.macosx-10.3-fat-2.5/objc/test/
test_method_prototypes.py", line 169, in testAllArgsOptional
class OC_InPro_AllOpt3 (NSObject):
BadPrototypeError: Not all Objective-C arguments are present in the
Python argument-list of <unbound selector init of OC_InPro_AllOpt3 at
0xa7ee6e0>
----------------------------------------------------------------------
Ran 2646 tests in 152.258s
FAILED (errors=1)
% svn info
Path: .
URL: http://svn.red-bean.com/pyobjc/trunk/pyobjc/pyobjc-core
Repository Root: http://svn.red-bean.com/pyobjc
Repository UUID: f55f28a5-9edb-0310-a011-a803cfcd5d25
Revision: 1995
Node Kind: directory
Schedule: normal
Last Changed Author: ronaldoussoren
Last Changed Rev: 1995
Last Changed Date: 2008-04-14 18:24:35 +0200 (Lun, 14 avr 2008)
--
Luc Heinrich - lu...@ho...
|