Open nrbnlulu opened 1 year ago
@nicoddemus Can you tell me which tests are redundant by now?
@nicoddemus Can you tell me which tests are redundant by now?
I think the only test that is checking the implementation details related to qt-compat is test_already_loaded_backend
(so it can be dropped), however the others should be adapted because they test user-facing functionality.
Which Qt backend to use is part of the user configuration, so it should remain tested.
@nicoddemus Can you tell me which tests are redundant by now?
I think the only test that is checking the implementation details related to qt-compat is
test_already_loaded_backend
(so it can be dropped), however the others should be adapted because they test user-facing functionality.Which Qt backend to use is part of the user configuration, so it should remain tested.
We can refer to qtpy docs instead no?
We can refer to qtpy docs instead no?
I would prefer to avoid breaking backward compatibility... probably it is a simple matter of:
if "PYTEST_QT_API" in os.environ:
os.environ["QT_API"] = os.environ["PYTEST_QT_API"]
Before importing qtpy
?
closes #477