mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-04 19:44:23 +08:00
11 lines
241 B
Python
11 lines
241 B
Python
import sys
|
|
|
|
|
|
def test_graphbolt_is_not_imported():
|
|
assert (
|
|
"dgl.graphbolt" not in sys.modules
|
|
), "dgl.graphbolt is already imported"
|
|
import dgl
|
|
|
|
assert "dgl.graphbolt" not in sys.modules, "dgl.graphbolt is imported"
|