Source

pyobjc / pyobjc-framework-InterfaceBuilderKit / PyObjCTest / __init__.py

1
2
3
4
5
6
7
8
9
""" Unittests """
import os

if 'DYLD_FRAMEWORK_PATH' not in os.environ or \
    'Library/PrivateFrameworks/' not in os.environ['DYLD_FRAMEWORK_PATH']:
    # Check for:
    # DYLD_FRAMEWORK_PATH='/Developer/Library/PrivateFrameworks/'

    raise ImportError("Please define DYLD_FRAMEWORK_PATH, otherwise the tests will fail")