mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
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:
parent
95503b9292
commit
f2ea82d838
@ -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"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user