Skip to content

Commit 9c9251a

Browse files
committed
[ENH] make TestClass follow new pattern
1 parent 9b5ef6f commit 9c9251a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/test_matlab_class.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
import numpy as np
44
from unittest.mock import patch
55

6-
from spm import Runtime, MatlabClass
6+
from spm import MatlabClass
7+
from spm._runtime import Runtime, RuntimeMixin
78

89

910
orig_runtime_call = Runtime.call
@@ -23,7 +24,7 @@ def mock_runtime_call(f, *args, **kwargs):
2324
class TestMatlabClass(unittest.TestCase):
2425
def setUp(self):
2526
# Example subclass for testing
26-
class TestClass(MatlabClass):
27+
class TestClass(RuntimeMixin, MatlabClass):
2728
def __init__(self, *args, **kwargs):
2829
super().__init__()
2930

0 commit comments

Comments
 (0)