python3Packages.jupytext: fix tests

This commit is contained in:
Jonathan Ringer 2022-02-11 10:02:08 -08:00 committed by Jonathan Ringer
parent af35bc1c34
commit 852bd9392a

View file

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, GitPython
, isort
, jupyter-client
, jupyter-packaging
, jupyterlab
@ -44,6 +45,7 @@ buildPythonPackage rec {
checkInputs = [
GitPython
isort
jupyter-client
notebook
pytestCheckHook
@ -65,6 +67,10 @@ buildPythonPackage rec {
"--ignore-glob='tests/test_pre_commit_*.py'"
];
disabledTests = [
"test_apply_black_through_jupytext" # we can't do anything about ill-formatted notebooks
];
pythonImportsCheck = [
"jupytext"
"jupytext.cli"