diff --git a/tests.py b/tests.py
index 66761b545f3ed382eb96dd203bcdc245d7c69033..4cf35c9a968d110c2db58efd9d14402d294a32b3 100644
--- a/tests.py
+++ b/tests.py
@@ -58,7 +58,7 @@ def test_prepare_environment(tmp_path):
 
     # now call the function we want to test
     result = mod.prepare_environment(
-        mpsd_release=mpsd_release_to_test, script_dir=(script_dir)
+        mpsd_release=mpsd_release_to_test, script_dir=script_dir
     )
     # wait for 20 seconds for the git clone to finish
     # time.sleep(20)