1. Ronald Oussoren
  2. pyobjc

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
  • Branches default

Comments (0)

Files changed (1)

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

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