From 4398b7cde5fee6bd40c3f36a703da167e3fc6f52 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Mon, 17 Mar 2025 18:40:28 +0100 Subject: [PATCH] DOC: add quotes around a shell command otherwise, it barfs with `bash: syntax error near unexpected token `('` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 17131560..c97d25e9 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ $ export ARRAY_API_TESTS_MODULE=array_api_strict To specify a runtime-defined module, define `xp` using the `exec('...')` syntax: ```bash -$ export ARRAY_API_TESTS_MODULE=exec('import quantity_array, numpy; xp = quantity_array.quantity_namespace(numpy)') +$ export ARRAY_API_TESTS_MODULE="exec('import quantity_array, numpy; xp = quantity_array.quantity_namespace(numpy)')" ``` Alternately, import/define the `xp` variable in `array_api_tests/__init__.py`.