python3Packages.jupyter-book: disable tests that fail to close sqlite (#403989)

This commit is contained in:
Gaétan Lepage 2025-05-03 23:26:49 +02:00 committed by GitHub
commit b440606b42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,8 +92,7 @@ buildPythonPackage rec {
writableTmpDirAsHomeHook
];
disabledTests =
[
disabledTests = [
# touch the network
"test_create_from_cookiecutter"
@ -113,10 +112,10 @@ buildPythonPackage rec {
"test_build_from_template"
"test_build_page"
"test_build_singlehtml_from_template"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x115dcc9a0>
# ResourceWarning: unclosed database in <sqlite3.Connection object at 0x115dcc9a0>
"test_clean_book"
"test_clean_html_latex"
"test_clean_latex"
];