Skip to content

Commit b440606

Browse files
authored
python3Packages.jupyter-book: disable tests that fail to close sqlite (#403989)
2 parents cab5790 + 995fef5 commit b440606

File tree

1 file changed

+27
-28
lines changed
  • pkgs/development/python-modules/jupyter-book

1 file changed

+27
-28
lines changed

pkgs/development/python-modules/jupyter-book/default.nix

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -92,34 +92,33 @@ buildPythonPackage rec {
9292
writableTmpDirAsHomeHook
9393
];
9494

95-
disabledTests =
96-
[
97-
# touch the network
98-
"test_create_from_cookiecutter"
99-
100-
# flaky?
101-
"test_execution_timeout"
102-
103-
# require texlive
104-
"test_toc"
105-
"test_toc_latex_parts"
106-
"test_toc_latex_urllink"
107-
108-
# AssertionError: assert 'There was an error in building your book' in '1'
109-
"test_build_errors"
110-
111-
# WARNING: Executing notebook failed: CellExecutionError [mystnb.exec]
112-
"test_build_dirhtml_from_template"
113-
"test_build_from_template"
114-
"test_build_page"
115-
"test_build_singlehtml_from_template"
116-
]
117-
++ lib.optionals stdenv.hostPlatform.isDarwin [
118-
# pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x115dcc9a0>
119-
# ResourceWarning: unclosed database in <sqlite3.Connection object at 0x115dcc9a0>
120-
"test_clean_html_latex"
121-
"test_clean_latex"
122-
];
95+
disabledTests = [
96+
# touch the network
97+
"test_create_from_cookiecutter"
98+
99+
# flaky?
100+
"test_execution_timeout"
101+
102+
# require texlive
103+
"test_toc"
104+
"test_toc_latex_parts"
105+
"test_toc_latex_urllink"
106+
107+
# AssertionError: assert 'There was an error in building your book' in '1'
108+
"test_build_errors"
109+
110+
# WARNING: Executing notebook failed: CellExecutionError [mystnb.exec]
111+
"test_build_dirhtml_from_template"
112+
"test_build_from_template"
113+
"test_build_page"
114+
"test_build_singlehtml_from_template"
115+
116+
# pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x115dcc9a0>
117+
# ResourceWarning: unclosed database in <sqlite3.Connection object at 0x115dcc9a0>
118+
"test_clean_book"
119+
"test_clean_html_latex"
120+
"test_clean_latex"
121+
];
123122

124123
disabledTestPaths = [
125124
# require texlive

0 commit comments

Comments
 (0)