Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Azure Pipelines instructions for running pytest-qt tests with PyQt6 to documentation #591

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

astafan8
Copy link
Contributor

@astafan8 astafan8 commented Feb 13, 2025

I hope this will be helpful for folks!

without this i've been seeing this fatal error (with python fault handler enabled):

tests/test_gui.py Fatal Python error: Aborted

Current thread 0x00007fde441e9c40 (most recent call first):

  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 126 in runtestprotocol
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/_pytest/main.py", line 362 in pytest_runtestloop
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/_pytest/main.py", line 337 in _main
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/_pytest/main.py", line 283 in wrap_session
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/_pytest/main.py", line 330 in pytest_cmdline_main
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/_pytest/config/__init__.py", line 175 in main
  File "/home/vsts/work/1/s/.venv/lib/python3.11/site-packages/_pytest/config/__init__.py", line 201 in console_main
  File "/home/vsts/work/1/s/.venv/bin/pytest", line 10 in <module>

Extension modules: PyQt6.QtCore, PyQt6.QtGui, PyQt6.QtWidgets, PyQt6.QtTest, psutil._psutil_linux, psutil._psutil_posix, numpy._core._multiarray_umath, numpy.linalg._umath_linalg, charset_normalizer.md, requests.packages.charset_normalizer.md, requests.packages.chardet.md (total: 11)

##[error]Bash exited with code '134'.

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@nicoddemus nicoddemus merged commit 9c532f2 into pytest-dev:master Feb 13, 2025
33 of 48 checks passed
@astafan8 astafan8 deleted the patch-1 branch February 13, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants