Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/n/o/nose-alert-0.9.1/nosealert/notifications.py   nose-alert(Download)
import warnings
from .platform import PLATFORM, OSX, LINUX
from os import path
        except ImportError:
            warnings.warn('Could not import gntp. Please install it to see alerts')
    elif PLATFORM == LINUX:
            import pynotify

src/n/o/nose-alert-0.9.1/nosealert/tests/test_platform.py   nose-alert(Download)
import unittest
from mock import patch
from ..platform import get_platform
from ..platform import OSX
from ..platform import LINUX