Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
networkx / utils / tests / test__init.py
Size: Mime:
import pytest


def test_utils_namespace():
    """Ensure objects are not unintentionally exposed in utils namespace."""
    with pytest.raises(ImportError):
        from networkx.utils import nx
    with pytest.raises(ImportError):
        from networkx.utils import sys
    with pytest.raises(ImportError):
        from networkx.utils import defaultdict, deque