Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

update config tests (#2107)

João Gustavo A. Amorim1fb4d9d64f77
diff --git a/conftest.py b/conftest.py
index 3143ab3f6..a6575dff0 100644
--- a/conftest.py
+++ b/conftest.py
@@ -94,7 +94,7 @@ def pytest_addoption(parser):
@pytest.fixture(autouse=True)
-def add_np(doctest_namespace):
+def add_doctest_deps(doctest_namespace):
doctest_namespace["np"] = numpy
doctest_namespace["torch"] = torch
doctest_namespace["kornia"] = kornia
diff --git a/setup.cfg b/setup.cfg
index 410f92959..707b64836 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -103,6 +103,7 @@ markers =
jit: mark a test as torchscript test
grad: mark a test as gradcheck test
nn: mark a test as module test
+testpaths = test
[flake8]
max-line-length = 120