1from PyObjCTools.TestSupport import * 2 3import AppKit 4 5try: 6 unicode 7except NameError: 8 unicode = str 9 10 11class TestNSTextAlternatives (TestCase): 12 @min_os_level('10.8') 13 def testConstants10_8(self): 14 self.assertIsInstance(AppKit.NSTextAlternativesSelectedAlternativeStringNotification, unicode) 15 16if __name__ == "__main__": 17 main() 18