summaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-03 23:03:28 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-03 23:03:28 +0200
commita4c33c55bf122d610628b76545dc50f52d4942ce (patch)
tree29a8c8e31d75885162451aae09d8aeb25917d978 /tests/conftest.py
parentdd66bf95742c98e49e664672b229e8fddbdd296d (diff)
downloadpydanclick-a4c33c55bf122d610628b76545dc50f52d4942ce.tar.gz
wip: add tests
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
new file mode 100644
index 0000000..9282809
--- /dev/null
+++ b/tests/conftest.py
@@ -0,0 +1,6 @@
+import pytest
+
+
+@pytest.fixture(autouse=True)
+def add_np(doctest_namespace):
+ doctest_namespace["np"] = numpy
remember that computers suck.