Source

pyobjc / pyobjc-framework-PubSub / PyObjCTest / test_psfeed.py

Diff from to

pyobjc-framework-PubSub/PyObjCTest/test_psfeed.py

 from PyObjCTools.TestSupport import *
 from PubSub import *
 
+try:
+    unicode
+except NameError:
+    unicode = str
+
 class TestPSFeed (TestCase):
     def testConstants(self):
         self.assertIsInstance(PSErrorDomain, unicode)