Пример #1
0
 def test_pathForFramework(self):
     self.assertEqual(dyld.pathForFramework('Cocoa.framework'), '/System/Library/Frameworks/Cocoa.framework')
     self.assertRaises(ImportError, dyld.pathForFramework, 'Foo.framework')
Пример #2
0
 def test_pathForFramework(self):
     self.assertEqual(
         dyld.pathForFramework("Cocoa.framework"),
         "/System/Library/Frameworks/Cocoa.framework",
     )
     self.assertRaises(ImportError, dyld.pathForFramework, "Foo.framework")
Пример #3
0
 def test_pathForFramework(self):
     self.assertEqual(dyld.pathForFramework('Cocoa.framework'),
                      '/System/Library/Frameworks/Cocoa.framework')
     self.assertRaises(ImportError, dyld.pathForFramework, 'Foo.framework')