Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Sep 14, 2024
1 parent 5756d26 commit 832c44b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mesa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
]

__title__ = "mesa"
__version__ = "3.0.0a4"
__version__ = "wtf????"
__license__ = "Apache 2.0"
_this_year = datetime.datetime.now(tz=datetime.timezone.utc).date().year
__copyright__ = f"Copyright {_this_year} Project Mesa Team"
7 changes: 6 additions & 1 deletion tests/test_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import pytest

import mesa
from mesa import Agent, Model
from mesa.time import (
BaseScheduler,
Expand Down Expand Up @@ -147,7 +148,11 @@ def test_StagedActivation_no_shuffle():
"""
Testing the staged activation without shuffling.
"""
model = SomeModel(shuffle=False)
try:
model = SomeModel(shuffle=False)
except TypeError:
print(mesa.__version__)

model.step()
model.step()
assert all(i == j for i, j in zip(model.log[:5], model.log[5:]))
Expand Down

0 comments on commit 832c44b

Please sign in to comment.