Skip to content

Commit 0f3fe74

Browse files
authored
Remove mesa.flat namespace (#2091)
This doesn't seem to be used as often as the current simple namespace.
1 parent 15ca7cf commit 0f3fe74

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

mesa/flat/__init__.py

-6
This file was deleted.

mesa/flat/visualization.py

-5
This file was deleted.

tests/test_import_namespace.py

-5
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,25 @@ def test_import():
22
# This tests the new, simpler Mesa namespace. See
33
# https://github.com/projectmesa/mesa/pull/1294.
44
import mesa
5-
import mesa.flat as mf
65
from mesa.time import RandomActivation
76

87
_ = mesa.time.RandomActivation
98
_ = RandomActivation
10-
_ = mf.RandomActivation
119

1210
from mesa.space import MultiGrid
1311

1412
_ = mesa.space.MultiGrid
1513
_ = MultiGrid
16-
_ = mf.MultiGrid
1714

1815
from mesa.visualization_old.ModularVisualization import ModularServer
1916

2017
_ = mesa.visualization_old.ModularServer
2118
_ = ModularServer
22-
_ = mf.ModularServer
2319

2420
from mesa.datacollection import DataCollector
2521

2622
_ = DataCollector
2723
_ = mesa.DataCollector
28-
_ = mf.DataCollector
2924

3025
from mesa.batchrunner import batch_run
3126

0 commit comments

Comments
 (0)