[PyObjC-svn] r2402 - trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest
[email protected] Wed, 03 Feb 2010 16:00:43 -0600
| Newsgroups | gmane.comp.python.pyobjc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronaldoussoren
Date: Wed Feb 3 16:00:43 2010
New Revision: 2402
Log:
Fix missing self reference
Modified:
trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfbase.py
Modified: trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfbase.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfbase.py (original)
+++ trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfbase.py Wed Feb 3 16:00:43 2010
@@ -62,6 +62,7 @@
o = CFRange()
self.assertHasAttr(o, 'location')
self.assertHasAttr(o, 'length')
+
def testCFRangeMake(self):
r = CFRangeMake(42, 99)
self.assertIsInstance(r, CFRange)
@@ -130,7 +131,7 @@
self.assertIsInstance(v, unicode)
v = CFGetAllocator(kCFAllocatorMalloc)
if v is not None:
- assertIsInstance(v, CFAllocatorRef)
+ self.assertIsInstance(v, CFAllocatorRef)
@min_os_level('10.6')
def testConstants10_6(self):
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com