You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/WPy32-3720/python-3.7.2/Lib/site-packages/qtpy/tests/runtests.py

27 lines
712 B

6 years ago
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# Copyright © 2015- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# ----------------------------------------------------------------------------
"""File for running tests programmatically."""
# Standard library imports
import sys
# Third party imports
import qtpy # to ensure that Qt4 uses API v2
import pytest
def main():
"""Run pytest tests."""
errno = pytest.main(['-x', 'qtpy', '-v', '-rw', '--durations=10',
'--cov=qtpy', '--cov-report=term-missing'])
sys.exit(errno)
if __name__ == '__main__':
main()