Source

pyobjc / pyobjc-framework-Cocoa / PyObjCTest / test_nsfontcollection.py

Diff from to

File pyobjc-framework-Cocoa/PyObjCTest/test_nsfontcollection.py

 
 import AppKit
 
+try:
+    unicode
+except NameError:
+    unicode = str
+
 class TestNSFontCollection (TestCase):
     @min_os_level('10.7')
     def testConstants10_7(self):