12 lines
220 B
Python
12 lines
220 B
Python
|
import pytest
|
||
|
|
||
|
|
||
|
def test_namespace_alias():
|
||
|
with pytest.raises(ImportError):
|
||
|
from networkx import nx
|
||
|
|
||
|
|
||
|
def test_namespace_nesting():
|
||
|
with pytest.raises(ImportError):
|
||
|
from networkx import networkx
|