Source

pyobjc / pyobjc-framework-ServiceManagement / PyObjCTest / test_servicemanagement.py

Diff from to

pyobjc-framework-ServiceManagement/PyObjCTest/test_servicemanagement.py

 from PyObjCTools.TestSupport import *
 from ServiceManagement import *
 
+try:
+    unicode
+except NameError:
+    unicode = str
+
 class TestServiceManagement (TestCase):
     @min_os_level('10.6')
     def testConstants(self):