You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discovered while testing LabExT with pytest 8.2.2. We do integration testing of a TKinter GUI as part of our CI. A particularly long test fails with an assertion error when using pytest=8.2.2 instead of an older version. The assertion error is raised possibly because of the change in #12368. I can't reproduce the error locally on my windows machine, however when pinning pytest's version to <8.2.2, this assertion is not triggered and our CI succeeds.
Console output from the CI run here: bug_reports.txt, error triggered is:
self = <TestCaseFunction test_mainwindow_repeated_IL_sweep>
def runtest(self) -> None:
from _pytest.debugging import maybe_wrap_pytest_function_for_tracing
testcase = self.instance
> assert testcase is not None
E AssertionError
.tox/py310-mwint/lib/python3.10/site-packages/_pytest/unittest.py:319: AssertionError
Python env (tox outputs the pip freeze, not pip list):
We're using: Python 3.10.14, pytest-8.2.2, pluggy-1.5.0 and pytest plugins rerunfailures-14.0, xvfb-3.0.0. OS is whatever GitHub CI installs on 'ubuntu-latest'.
a detailed description of the bug or problem you are having
output of pip list from the virtual environment you are using
pytest and operating system versions
minimal example if possible
The text was updated successfully, but these errors were encountered:
Discovered while testing LabExT with pytest 8.2.2. We do integration testing of a TKinter GUI as part of our CI. A particularly long test fails with an assertion error when using pytest=8.2.2 instead of an older version. The assertion error is raised possibly because of the change in #12368. I can't reproduce the error locally on my windows machine, however when pinning pytest's version to <8.2.2, this assertion is not triggered and our CI succeeds.
Console output from the CI run here: bug_reports.txt, error triggered is:
Python env (tox outputs the pip freeze, not pip list):
We're using: Python 3.10.14, pytest-8.2.2, pluggy-1.5.0 and pytest plugins rerunfailures-14.0, xvfb-3.0.0. OS is whatever GitHub CI installs on 'ubuntu-latest'.
pip list
from the virtual environment you are usingThe text was updated successfully, but these errors were encountered: