Skip to content
New issue

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

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

Already on GitHub? # to your account

Address intermittent test failures #1359

Merged
merged 2 commits into from
Mar 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ filterwarnings = [
"ignore:the imp module is deprecated in favour of importlib:DeprecationWarning",
"ignore:Code cell is missing an id field:FutureWarning",
"ignore:There is no current event loop:DeprecationWarning",
# Intermittent in tests/functional/cli/test_cli.py::test_format_prefix_suffix #1357
"ignore:unclosed database in <sqlite3.Connection:ResourceWarning",
"ignore:Exception ignored:pytest.PytestUnraisableExceptionWarning",
]

[tool.coverage.run]
Expand Down
2 changes: 2 additions & 0 deletions tests/functional/others/test_trust_notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ async def test_rmd_notebooks_are_trusted(rmd_file, cm):
assert cell.metadata.get("trusted", True)


@pytest.mark.skip(reason="Fails intermittently on CI, see #1346")
async def test_ipynb_notebooks_can_be_trusted(
ipynb_py_file, tmpdir, no_jupytext_version_number, cm
):
Expand Down Expand Up @@ -76,6 +77,7 @@ async def test_ipynb_notebooks_can_be_trusted(
await ensure_async(cm.trust_notebook(file))


@pytest.mark.skip(reason="Fails intermittently on CI, see #1346")
async def test_ipynb_notebooks_can_be_trusted_even_with_metadata_filter(
ipynb_py_file, tmpdir, no_jupytext_version_number, cm
):
Expand Down
Loading