Skip to content
Snippets Groups Projects
Commit 1e81b280 authored by Benjamin Schubert's avatar Benjamin Schubert
Browse files

fixup! Remove dependency on pytest-runner

parent f9658df0
No related branches found
No related tags found
No related merge requests found
Pipeline #34312104 passed
......@@ -18,8 +18,6 @@
# Authors:
# Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>
from distutils import log
from distutils.errors import DistutilsError
import os
import re
import shutil
......@@ -257,8 +255,7 @@ class PyTest(TestCommand):
errno = pytest.main(shlex.split(self.addopts))
if errno:
self.announce('Tests failed', log.ERROR)
raise DistutilsError('Tests failed')
raise SystemExit(errno)
def get_cmdclass():
......
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