ai-content-maker/.venv/Lib/site-packages/networkx/utils/tests/test__init.py

12 lines
363 B
Python

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