Skip to content
Snippets Groups Projects
Verified Commit 67ec3709 authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

add test function

parent ffc8602d
No related branches found
No related tags found
1 merge request!9switch to meson build
......@@ -16,4 +16,17 @@ __all__ = [
"nullspace",
"possible_orderings",
"__version__",
"test",
]
def test(verbose=True):
from pytest import main
import os.path
return main(
[os.path.dirname(os.path.abspath(__file__)), "-s"] + (["-v"] if verbose else [])
)
test.__test__ = False
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment