diff --git a/tests/test_solver.py b/tests/test_solver.py
index 8f3e943990ee58f4323c640d9ecf9b438b514712..e147e5c5e4218fafb8ce6aae2597e9167eb62003 100644
--- a/tests/test_solver.py
+++ b/tests/test_solver.py
@@ -347,4 +347,3 @@ def test_soc_analytic(T, n, alpha_soc):
         Js.append(J)
         Jans.append(Jy_an)
 
-    return locals()