Commits

Ronald Oussoren committed f2992be

Slight code change to avoid unimplemented methods for the old "Object" class

Without this change the testsuite crashes on OSX 10.5

  • Participants
  • Parent commits 421846b

Comments (0)

Files changed (1)

pyobjc-core/Modules/objc/test/identity.m

 }
 -(void)setStoredObjectAnInstanceOfClassic:(Class)cls
 {
-	[self setStoredClassicObject:[[cls new] autorelease]];
+	[self setStoredClassicObject:[[cls alloc] init]];
 }
 
 -(void)writeStoredObjectToFile:(NSString*)fname