Пример #1
0
def not_none():
    """Matches if object is not ``None``."""
    return is_not(none())
Пример #2
0
def not_none():
    """Matches if value is not None."""
    return is_not(none())
Пример #3
0
def not_none():
    """Matches if object is not ``None``."""
    return is_not(none())