Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 14, 2024
1 parent 35ef235 commit a4c70fa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# import unittest
# from unittest import TestCase, mock


from mesa import Agent, Model
from mesa.time import (
BaseScheduler,
Expand Down Expand Up @@ -54,8 +53,6 @@ def step(self):
self.model.log.append(self.unique_id)




class MockModel(Model):
def __init__(
self, seed=None, shuffle=False, activation=STAGED, enable_kill_other_agent=False
Expand Down Expand Up @@ -117,8 +114,8 @@ def __init__(self, some_number, seed=None, some_other_argument=5):
self.some_number = some_number
self.some_other_argument = some_other_argument

def test_some_model():

def test_some_model():
some_model = SomeModel(5)
some_model = SomeModel(5, seed=10)
some_model = SomeModel(5, some_other_argument=10)
Expand Down

0 comments on commit a4c70fa

Please sign in to comment.