Skip to content
Snippets Groups Projects
Commit 4a07beb7 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix pytest script-based test invocation

parent 9a4bf31b
No related branches found
No related tags found
No related merge requests found
......@@ -493,7 +493,7 @@ if __name__ == "__main__":
if len(sys.argv) > 1:
exec(sys.argv[1])
else:
from py.test.cmdline import main
from pytest import main
main([__file__])
# vim: fdm=marker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment