diff --git a/tests.py b/tests.py
index d4c9e9307ecfba9539f6fb7ff070d00b538d7d15..354ec727cf040ecba541c7b14a42cee655034d11 100644
--- a/tests.py
+++ b/tests.py
@@ -63,7 +63,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)