From 2b1d56fe6fe137dda62c3377fe8da6423be29a1f Mon Sep 17 00:00:00 2001 From: Jeff Jennings Date: Mon, 24 Jun 2024 17:07:06 -0400 Subject: [PATCH] add type hints to tests --- test/test_example_module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_example_module.py b/test/test_example_module.py index 4f5d734..151e857 100644 --- a/test/test_example_module.py +++ b/test/test_example_module.py @@ -3,7 +3,7 @@ from py_template.example_module import fibonacci, SoftwareGroup -def test_example_function(): +def test_example_function() -> None: """Check the Fibonacci sequence function returns correct result""" fib = fibonacci(10) np.testing.assert_allclose( @@ -13,7 +13,7 @@ def test_example_function(): ) -def test_example_class(): +def test_example_class() -> None: """Check the SoftwareGroup class can be instantiated and its class method called""" sg = SoftwareGroup(people="us", purpose="fun") sg.long_term_goals()