Skip to content

Commit

Permalink
Update test_time.py
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Sep 14, 2024
1 parent 25ba70b commit bb891ea
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ def step(self):
self.model.log.append(self.unique_id)


class SomeModel(Model):
class BaseClass:
def __init__(self, *args, seed=None, **kwargs):
super().__init__(*args, **kwargs)
self.seed = seed

class SomeModel(BaseClass):
def __init__(self, some_number, seed=None, some_other_argument=5):
super().__init__(seed=seed)
self.some_number = some_number
Expand Down Expand Up @@ -113,6 +118,7 @@ def test_some_model():
some_model = SomeModel(5)
some_model = SomeModel(5, seed=10)
some_model = SomeModel(5, some_other_argument=10)
some_model.some_number = 6


# def test_StagedActivation_no_shuffle():
Expand Down

0 comments on commit bb891ea

Please sign in to comment.