python310Packages.jupyter-server: disable failing test_copy_big_dir on all linux

jupyter-server> ___________________ test_copy_big_dir[jp_contents_manager1] ____________________
jupyter-server>
jupyter-server> jp_contents_manager = <jupyter_server.services.contents.filemanager.FileContentsManager object at 0x7ffff1c08460>
jupyter-server>
jupyter-server>     async def test_copy_big_dir(jp_contents_manager):
jupyter-server>         # this tests how the Content API limits preventing copying folders that are more than
jupyter-server>         # the size limit specified in max_copy_folder_size_mb trait
jupyter-server>         cm = jp_contents_manager
jupyter-server>         destDir = "Untitled Folder 1"
jupyter-server>         sourceDir = "Morningstar Notebooks"
jupyter-server>         cm.max_copy_folder_size_mb = 5
jupyter-server>         _make_dir(cm, destDir)
jupyter-server>         _make_big_dir(contents_manager=cm, api_path=sourceDir)
jupyter-server> >       with pytest.raises(HTTPError) as exc_info:
jupyter-server> E       Failed: DID NOT RAISE <class 'tornado.web.HTTPError'>
jupyter-server>
jupyter-server> tests/services/contents/test_manager.py:896: Failed
This commit is contained in:
Sandro Jäckel 2023-10-06 20:15:38 +02:00
parent 95503b9292
commit f2ea82d838
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -5,12 +5,10 @@
, pythonOlder
, hatch-jupyter-builder
, hatchling
, pandoc
, pytestCheckHook
, pytest-console-scripts
, pytest-jupyter
, pytest-timeout
, pytest-tornasync
, argon2-cffi
, jinja2
, tornado
@ -102,7 +100,8 @@ buildPythonPackage rec {
"test_authorized_requests"
# Insufficient access privileges for operation
"test_regression_is_hidden"
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
] ++ lib.optionals stdenv.isLinux [
# Failed: DID NOT RAISE <class 'tornado.web.HTTPError'>
"test_copy_big_dir"
];