From 13a3538371069334a0cd27187df17ef8afd204b3 Mon Sep 17 00:00:00 2001 From: Alexey Snigir <35569332+l0uden@users.noreply.github.com> Date: Tue, 16 Apr 2024 14:51:17 +0200 Subject: [PATCH] [QA] Ignore `pytest.PytestUnhandledThreadExceptionWarning` (#425) --- ...xey_snigir_ignore_pytest_thread_warning.md | 48 +++++++++++++++++++ vizro-core/tests/integration/test_examples.py | 2 + 2 files changed, 50 insertions(+) create mode 100644 vizro-core/changelog.d/20240416_134105_alexey_snigir_ignore_pytest_thread_warning.md diff --git a/vizro-core/changelog.d/20240416_134105_alexey_snigir_ignore_pytest_thread_warning.md b/vizro-core/changelog.d/20240416_134105_alexey_snigir_ignore_pytest_thread_warning.md new file mode 100644 index 000000000..f1f65e73c --- /dev/null +++ b/vizro-core/changelog.d/20240416_134105_alexey_snigir_ignore_pytest_thread_warning.md @@ -0,0 +1,48 @@ + + + + + + + + + diff --git a/vizro-core/tests/integration/test_examples.py b/vizro-core/tests/integration/test_examples.py index 1972bbe81..8bae8a487 100644 --- a/vizro-core/tests/integration/test_examples.py +++ b/vizro-core/tests/integration/test_examples.py @@ -36,6 +36,8 @@ def dashboard(request, monkeypatch): # Ignore deprecation warning until this is solved: https://github.com/plotly/dash/issues/2590 @pytest.mark.filterwarnings("ignore:HTTPResponse.getheader()") +# Ignore as it doesn't affect the test run +@pytest.mark.filterwarnings("ignore::pytest.PytestUnhandledThreadExceptionWarning") @pytest.mark.parametrize( "example_path, version", [