Skip to content

Commit a52bb80

Browse files
committed
put typing back ater merge
1 parent 3f8a3c4 commit a52bb80

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

unittests/test_cfg_checker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525

2626
class TestCfgChecker(unittest.TestCase):
2727

28-
def setUp(self):
28+
def setUp(self) -> None:
2929
unittest_setup()
3030

31-
def test_config_checks(self):
31+
def test_config_checks(self) -> None:
3232
unittests = os.path.dirname(__file__)
3333
parent = os.path.dirname(unittests)
3434
spynnaker_dir = spynnaker.__path__[0]

unittests/test_using_virtual_board/test_debug_mode/test_debug.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class TestDebug(BaseTestCase):
3232

3333
# NO unittest_setup() as sim.setup is called
3434

35-
def assert_reports(self):
35+
def assert_reports(self) -> None:
3636
skipped = cfg_paths_skipped()
3737
for section in config_sections():
3838
for option in config_options(section):
@@ -49,7 +49,7 @@ def assert_reports(self):
4949
raise AssertionError(
5050
f"Unable to find report for {option} {path}")
5151

52-
def debug(self):
52+
def debug(self) -> None:
5353
sim.setup(1.0)
5454
pop = sim.Population(100, sim.IF_curr_exp, {}, label="pop")
5555
pop.record("v")
@@ -63,7 +63,7 @@ def debug(self):
6363

6464
self.assert_reports()
6565

66-
def test_debug(self):
66+
def test_debug(self) -> None:
6767
self.runsafe(self.debug)
6868

6969

0 commit comments

Comments
 (0)