added setup.cfg

This commit is contained in:
emdee 2022-11-17 08:07:23 +00:00
parent 97db0946da
commit 81a5e66b60
11 changed files with 153 additions and 36 deletions

28
tests/conftest.py Normal file
View file

@ -0,0 +1,28 @@
# © 2018 Gerard Marull-Paretas <gerard@teslabs.com>
# © 2014 Mark Harviston <mark.harviston@gmail.com>
# © 2014 Arve Knudsen <arve.knudsen@gmail.com>
# BSD License
# phantompy test - just test qasync for now
import os
import logging
from pytest import fixture
logging.basicConfig(
level=logging.DEBUG, format="%(asctime)s - %(levelname)s - %(name)s - %(message)s"
)
if os.name == "nt":
collect_ignore = ["qasync/_unix.py"]
else:
collect_ignore = ["qasync/_windows.py"]
@fixture(scope="session")
def application():
from phantompy.qasync_phantompy import QApplication
return QApplication([])