diff --git a/tests.py b/tests.py
index 814f73d35ddd7323b89affebd84fd3a2da6619e9..98a8e39d82fc1f1820788114d0a2458b56032c41 100644
--- a/tests.py
+++ b/tests.py
@@ -34,7 +34,7 @@ def test_run_method(tmp_path):
 
     with mod.os_chdir(str(tmp_path)):
         # ensure single string command works
-        assert run(("ls -l")).returncode == 0
+        assert run(("ls -l"), shell=True).returncode == 0
         # test spaces are handled correctly:
         assert run(["touch", "file1 file2"]).returncode == 0
         assert os.path.exists("file1")