Source

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

Diff from to

pyobjc-framework-Cocoa/PyObjCTest/test_cfpreferences.py

         self.assertResultIsCFRetained(CFPreferencesCopyApplicationList)
         apps = CFPreferencesCopyApplicationList(kCFPreferencesCurrentUser, kCFPreferencesAnyHost)
         self.assertIsInstance(apps, CFArrayRef)
-        self.assertIsIn(b"com.apple.AddressBook".decode('ascii'), apps)
+        self.assertIn(b"com.apple.AddressBook".decode('ascii'), apps)
         self.assertResultIsCFRetained(CFPreferencesCopyKeyList)
         keys = CFPreferencesCopyKeyList(b"com.apple.AddressBook".decode('ascii'), kCFPreferencesCurrentUser, kCFPreferencesAnyHost)
         self.assertIsInstance(keys, CFArrayRef)