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

12 lines
363 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
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