* Package: dev-python/sphinx-gallery-0.10.1  * Repository: gentoo  * Maintainer: python@gentoo.org  * USE: elibc_glibc kernel_linux ppc64 python_targets_python3_10 test userland_GNU  * FEATURES: preserve-libs sandbox test userpriv >>> Unpacking source... >>> Unpacking sphinx-gallery-0.10.1.tar.gz to /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work >>> Source unpacked in /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work >>> Preparing source in /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1 ... * Build system packages: * dev-python/setuptools : 62.6.0 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile python3.10 setup.py build -j 16 running build running build_py creating /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/py_source_parser.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/downloads.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/notebook.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/utils.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/binder.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/docs_resolv.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/gen_gallery.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/gen_rst.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/sphinx_compatibility.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/backreferences.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/directives.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/scrapers.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/sorting.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/__init__.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery copying sphinx_gallery/load_style.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery creating /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_scrapers.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_sorting.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_load_style.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_sphinx_compatibility.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_full.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_binder.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_utils.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/conftest.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_docs_resolv.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_gen_gallery.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_full_noexec.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_backreferences.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_notebook.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_py_source_parser.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/test_gen_rst.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests copying sphinx_gallery/tests/__init__.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/tests creating /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/_static copying sphinx_gallery/_static/sg_gallery-rendered-html.css -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/_static copying sphinx_gallery/_static/sg_gallery-binder.css -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/_static copying sphinx_gallery/_static/sg_gallery.css -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/_static copying sphinx_gallery/_static/sg_gallery-dataframe.css -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/_static copying sphinx_gallery/_static/no_image.png -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/_static copying sphinx_gallery/_static/broken_example.png -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/_static copying sphinx_gallery/_static/binder_badge_logo.svg -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/lib/sphinx_gallery/_static warning: build_py: byte-compiling is disabled, skipping. running build_scripts creating /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/scripts copying bin/copy_sphinxgallery.sh -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/scripts copying and adjusting bin/sphx_glr_python_to_jupyter.py -> /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/scripts changing mode of /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1-python3_10/scripts/sphx_glr_python_to_jupyter.py from 644 to 755 >>> Source compiled. >>> Test phase: dev-python/sphinx-gallery-0.10.1 * python3_10: running distutils-r1_run_phase python_test python3.10 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown --deselect sphinx_gallery/tests/test_docs_resolv.py::test_embed_code_links_get_data --deselect sphinx_gallery/tests/test_full.py::test_run_sphinx --deselect sphinx_gallery/tests/test_full.py::test_embed_links_and_styles ========================================= test session starts ========================================== platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0 -- /usr/bin/python3.10 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1, configfile: setup.cfg plugins: pkgcore-0.12.10, forked-1.4.0, xdist-2.5.0, timeout-2.1.0, flaky-3.7.0 collecting ... collected 194 items / 3 deselected / 191 selected sphinx_gallery/tests/test_backreferences.py::test_thumbnail_div[<"test">-<"test">-False] PASSED [ 1/191] sphinx_gallery/tests/test_backreferences.py::test_thumbnail_div[test formating-test formating-True] PASSED [ 2/191] sphinx_gallery/tests/test_backreferences.py::test_thumbnail_div[1 :class:`~a.b`. 2 :class:`a.b` 3 :ref:`whatever `-1 b. 2 a.b 3 better name-False] PASSED [ 3/191] sphinx_gallery/tests/test_backreferences.py::test_thumbnail_div[use :meth:`mne.io.Raw.plot_psd` to-use mne.io.Raw.plot_psd to-False] PASSED [ 4/191] sphinx_gallery/tests/test_backreferences.py::test_thumbnail_div[`this` and ``that``; and `these things` and ``those things``-this and that; and these things and those things-False] PASSED [ 5/191] sphinx_gallery/tests/test_backreferences.py::test_identify_names PASSED [ 6/191] sphinx_gallery/tests/test_backreferences.py::test_identify_names2 PASSED [ 7/191] sphinx_gallery/tests/test_binder.py::test_binder PASSED [ 8/191] sphinx_gallery/tests/test_binder.py::test_gen_binder_rst PASSED [ 9/191] sphinx_gallery/tests/test_docs_resolv.py::test_shelve PASSED [ 10/191] sphinx_gallery/tests/test_docs_resolv.py::test_parse_sphinx_docopts PASSED [ 11/191] sphinx_gallery/tests/test_full.py::test_timings PASSED [ 12/191] sphinx_gallery/tests/test_full.py::test_optipng PASSED [ 13/191] sphinx_gallery/tests/test_full.py::test_junit PASSED [ 14/191] sphinx_gallery/tests/test_full.py::test_thumbnail_path PASSED [ 15/191] sphinx_gallery/tests/test_full.py::test_negative_thumbnail_config PASSED [ 16/191] sphinx_gallery/tests/test_full.py::test_command_line_args_img PASSED [ 17/191] sphinx_gallery/tests/test_full.py::test_image_formats PASSED [ 18/191] sphinx_gallery/tests/test_full.py::test_repr_html_classes PASSED [ 19/191] sphinx_gallery/tests/test_full.py::test_backreferences PASSED [ 20/191] sphinx_gallery/tests/test_full.py::test_backreferences_examples[sphinx_gallery.backreferences.identify_names.examples-plot_numpy_matplotlib] PASSED [ 21/191] sphinx_gallery/tests/test_full.py::test_backreferences_examples[sphinx_gallery.sorting.ExplicitOrder.examples-plot_second_future_imports] PASSED [ 22/191] sphinx_gallery/tests/test_full.py::test_logging_std_nested PASSED [ 23/191] sphinx_gallery/tests/test_full.py::test_rebuild PASSED [ 24/191] sphinx_gallery/tests/test_full.py::test_error_messages[future/plot_future_imports_broken-.*RuntimeError.*Forcing this example to fail on Python 3.*] PASSED [ 25/191] sphinx_gallery/tests/test_full.py::test_error_messages[plot_scraper_broken-.*ValueError.*zero-size array to reduction.*] PASSED [ 26/191] sphinx_gallery/tests/test_full.py::test_alt_text_image PASSED [ 27/191] sphinx_gallery/tests/test_full.py::test_alt_text_thumbnail PASSED [ 28/191] sphinx_gallery/tests/test_full.py::test_backreference_labels PASSED [ 29/191] sphinx_gallery/tests/test_full.py::test_minigallery_directive[Test 1-N-6-False] PASSED [ 30/191] sphinx_gallery/tests/test_full.py::test_minigallery_directive[Test 1-D-D-8-False] PASSED [ 31/191] sphinx_gallery/tests/test_full.py::test_minigallery_directive[Test 1-D-C-8-False] PASSED [ 32/191] sphinx_gallery/tests/test_full.py::test_minigallery_directive[Test 1-C-D-9-False] PASSED [ 33/191] sphinx_gallery/tests/test_full.py::test_minigallery_directive[Test 2-N-11-True] PASSED [ 34/191] sphinx_gallery/tests/test_full.py::test_minigallery_directive[Test 2-D-D-14-True] PASSED [ 35/191] sphinx_gallery/tests/test_full.py::test_minigallery_directive[Test 2-C-C-15-True] PASSED [ 36/191] sphinx_gallery/tests/test_full.py::test_matplotlib_warning_filter PASSED [ 37/191] sphinx_gallery/tests/test_full.py::test_jupyter_notebook_pandoc PASSED [ 38/191] sphinx_gallery/tests/test_full.py::test_md5_hash PASSED [ 39/191] sphinx_gallery/tests/test_full.py::test_binder_logo_exists PASSED [ 40/191] sphinx_gallery/tests/test_full.py::test_defer_figures PASSED [ 41/191] sphinx_gallery/tests/test_full.py::test_no_dummy_image PASSED [ 42/191] sphinx_gallery/tests/test_full_noexec.py::test_dummy_image PASSED [ 43/191] sphinx_gallery/tests/test_gen_gallery.py::test_bad_config PASSED [ 44/191] sphinx_gallery/tests/test_gen_gallery.py::test_default_config PASSED [ 45/191] sphinx_gallery/tests/test_gen_gallery.py::test_no_warning_simple_config PASSED [ 46/191] sphinx_gallery/tests/test_gen_gallery.py::test_bad_reset[Resetter unknown] PASSED [ 47/191] sphinx_gallery/tests/test_gen_gallery.py::test_bad_reset[Resetter not callable] PASSED [ 48/191] sphinx_gallery/tests/test_gen_gallery.py::test_bad_reset_modules_order[Resetter unknown] PASSED [ 49/191] sphinx_gallery/tests/test_gen_gallery.py::test_bad_reset_modules_order[reset_modules_order not valid] PASSED [ 50/191] sphinx_gallery/tests/test_gen_gallery.py::test_bad_css[CSS str error] PASSED [ 51/191] sphinx_gallery/tests/test_gen_gallery.py::test_bad_css[CSS type error] PASSED [ 52/191] sphinx_gallery/tests/test_gen_gallery.py::test_config_backreferences PASSED [ 53/191] sphinx_gallery/tests/test_gen_gallery.py::test_duplicate_files_warn PASSED [ 54/191] sphinx_gallery/tests/test_gen_gallery.py::test_spaces_in_files_warn PASSED [ 55/191] sphinx_gallery/tests/test_gen_gallery.py::test_example_sorting_default PASSED [ 56/191] sphinx_gallery/tests/test_gen_gallery.py::test_example_sorting_filesize PASSED [ 57/191] sphinx_gallery/tests/test_gen_gallery.py::test_example_sorting_filename PASSED [ 58/191] sphinx_gallery/tests/test_gen_gallery.py::test_example_sorting_title PASSED [ 59/191] sphinx_gallery/tests/test_gen_gallery.py::test_collect_gallery_files PASSED [ 60/191] sphinx_gallery/tests/test_gen_gallery.py::test_collect_gallery_files_ignore_pattern PASSED [ 61/191] sphinx_gallery/tests/test_gen_gallery.py::test_binder_copy_files PASSED [ 62/191] sphinx_gallery/tests/test_gen_gallery.py::test_failing_examples_raise_exception PASSED [ 63/191] sphinx_gallery/tests/test_gen_gallery.py::test_expected_failing_examples_were_executed PASSED [ 64/191] sphinx_gallery/tests/test_gen_gallery.py::test_only_warn_on_example_error PASSED [ 65/191] sphinx_gallery/tests/test_gen_gallery.py::test_only_warn_on_example_error_sphinx_warning PASSED [ 66/191] sphinx_gallery/tests/test_gen_gallery.py::test_examples_not_expected_to_pass PASSED [ 67/191] sphinx_gallery/tests/test_gen_gallery.py::test_show_memory_callable PASSED [ 68/191] sphinx_gallery/tests/test_gen_gallery.py::test_first_notebook_cell_config PASSED [ 69/191] sphinx_gallery/tests/test_gen_gallery.py::test_last_notebook_cell_config PASSED [ 70/191] sphinx_gallery/tests/test_gen_gallery.py::test_backreferences_dir_config PASSED [ 71/191] sphinx_gallery/tests/test_gen_gallery.py::test_backreferences_dir_pathlib_config PASSED [ 72/191] sphinx_gallery/tests/test_gen_gallery.py::test_write_computation_times_noop PASSED [ 73/191] sphinx_gallery/tests/test_gen_gallery.py::test_pypandoc_config_list PASSED [ 74/191] sphinx_gallery/tests/test_gen_gallery.py::test_pypandoc_config_keys PASSED [ 75/191] sphinx_gallery/tests/test_gen_rst.py::test_split_code_and_text_blocks PASSED [ 76/191] sphinx_gallery/tests/test_gen_rst.py::test_bug_cases_of_notebook_syntax PASSED [ 77/191] sphinx_gallery/tests/test_gen_rst.py::test_direct_comment_after_docstring PASSED [ 78/191] sphinx_gallery/tests/test_gen_rst.py::test_final_rst_last_word PASSED [ 79/191] sphinx_gallery/tests/test_gen_rst.py::test_rst_block_after_docstring PASSED [ 80/191] sphinx_gallery/tests/test_gen_rst.py::test_rst_empty_code_block PASSED [ 81/191] sphinx_gallery/tests/test_gen_rst.py::test_script_vars_globals PASSED [ 82/191] sphinx_gallery/tests/test_gen_rst.py::test_codestr2rst PASSED [ 83/191] sphinx_gallery/tests/test_gen_rst.py::test_extract_intro_and_title PASSED [ 84/191] sphinx_gallery/tests/test_gen_rst.py::test_md5sums[b-a546be453c8f436e744838a4801bd3a0] PASSED [ 85/191] sphinx_gallery/tests/test_gen_rst.py::test_md5sums[t-ea8a570e9f3afc0a7c3f2a17a48b8047] PASSED [ 86/191] sphinx_gallery/tests/test_gen_rst.py::test_fail_example[failing_code0-not defined] PASSED [ 87/191] sphinx_gallery/tests/test_gen_rst.py::test_fail_example[failing_code1-Cannot use input] PASSED [ 88/191] sphinx_gallery/tests/test_gen_rst.py::test_fail_example[failing_code2-invalid syntax] PASSED [ 89/191] sphinx_gallery/tests/test_gen_rst.py::test_custom_scraper_thumbnail_alpha PASSED [ 90/191] sphinx_gallery/tests/test_gen_rst.py::test_remove_config_comments PASSED [ 91/191] sphinx_gallery/tests/test_gen_rst.py::test_dummy_image_error PASSED [ 92/191] sphinx_gallery/tests/test_gen_rst.py::test_final_empty_block PASSED [ 93/191] sphinx_gallery/tests/test_gen_rst.py::test_download_link_note_only_html PASSED [ 94/191] sphinx_gallery/tests/test_gen_rst.py::test_download_link_classes PASSED [ 95/191] sphinx_gallery/tests/test_gen_rst.py::test_gen_dir_rst[.txt] PASSED [ 96/191] sphinx_gallery/tests/test_gen_rst.py::test_gen_dir_rst[.rst] PASSED [ 97/191] sphinx_gallery/tests/test_gen_rst.py::test_gen_dir_rst[.bad] PASSED [ 98/191] sphinx_gallery/tests/test_gen_rst.py::test_pattern_matching PASSED [ 99/191] sphinx_gallery/tests/test_gen_rst.py::test_thumbnail_number[# sphinx_gallery_thumbnail_number= 2] PASSED [100/191] sphinx_gallery/tests/test_gen_rst.py::test_thumbnail_number[# sphinx_gallery_thumbnail_number=2] PASSED [101/191] sphinx_gallery/tests/test_gen_rst.py::test_thumbnail_number[#sphinx_gallery_thumbnail_number = 2] PASSED [102/191] sphinx_gallery/tests/test_gen_rst.py::test_thumbnail_number[ # sphinx_gallery_thumbnail_number=2] PASSED [103/191] sphinx_gallery/tests/test_gen_rst.py::test_thumbnail_path[# sphinx_gallery_thumbnail_path= '_static/demo.png'] PASSED [104/191] sphinx_gallery/tests/test_gen_rst.py::test_thumbnail_path[# sphinx_gallery_thumbnail_path='_static/demo.png'] PASSED [105/191] sphinx_gallery/tests/test_gen_rst.py::test_thumbnail_path[#sphinx_gallery_thumbnail_path = '_static/demo.png'] PASSED [106/191] sphinx_gallery/tests/test_gen_rst.py::test_thumbnail_path[ # sphinx_gallery_thumbnail_path='_static/demo.png'] PASSED [107/191] sphinx_gallery/tests/test_gen_rst.py::test_zip_notebooks PASSED [108/191] sphinx_gallery/tests/test_gen_rst.py::test_rst_example PASSED [109/191] sphinx_gallery/tests/test_gen_rst.py::test_output_indentation PASSED [110/191] sphinx_gallery/tests/test_gen_rst.py::test_output_no_ansi PASSED [111/191] sphinx_gallery/tests/test_gen_rst.py::test_empty_output_box PASSED [112/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[assign,()] PASSED [113/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[var,()] PASSED [114/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[print(var),()] PASSED [115/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[print+var,()] PASSED [116/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[assign,(repr)] PASSED [117/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[var,(repr)] PASSED [118/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[print(var),(repr)] PASSED [119/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[print+var,(repr)] PASSED [120/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[repr_and_html,(repr)] PASSED [121/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[print and repr_and_html,(repr)] PASSED [122/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[repr_only,(html)] PASSED [123/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[repr_and_html,(html)] PASSED [124/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[print and repr_and_html,(html)] PASSED [125/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[repr_and_html,(html,repr)] PASSED [126/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[repr_and_html,(repr,html)] PASSED [127/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[repr_only,(html,repr)] PASSED [128/191] sphinx_gallery/tests/test_gen_rst.py::test_capture_repr[html_none] PASSED [129/191] sphinx_gallery/tests/test_gen_rst.py::test_ignore_repr_types PASSED [130/191] sphinx_gallery/tests/test_gen_rst.py::test_reset_module_order_2_param[before-1] PASSED [131/191] sphinx_gallery/tests/test_gen_rst.py::test_reset_module_order_2_param[after-1] PASSED [132/191] sphinx_gallery/tests/test_gen_rst.py::test_reset_module_order_2_param[both-2] PASSED [133/191] sphinx_gallery/tests/test_gen_rst.py::test_reset_module_order_3_param[before-1-expected_call_order0] PASSED [134/191] sphinx_gallery/tests/test_gen_rst.py::test_reset_module_order_3_param[after-1-expected_call_order1] PASSED [135/191] sphinx_gallery/tests/test_gen_rst.py::test_reset_module_order_3_param[both-2-expected_call_order2] PASSED [136/191] sphinx_gallery/tests/test_gen_rst.py::test_reset_module_order_3_param_invalid_when PASSED [137/191] sphinx_gallery/tests/test_gen_rst.py::TestLoggingTee::test_full_line FAILED [138/191] sphinx_gallery/tests/test_gen_rst.py::TestLoggingTee::test_incomplete_line_with_flush FAILED [139/191] sphinx_gallery/tests/test_gen_rst.py::TestLoggingTee::test_incomplete_line_with_more_output FAILED [140/191] sphinx_gallery/tests/test_gen_rst.py::TestLoggingTee::test_multi_line FAILED [141/191] sphinx_gallery/tests/test_gen_rst.py::TestLoggingTee::test_isatty PASSED [142/191] sphinx_gallery/tests/test_load_style.py::test_load_style PASSED [143/191] sphinx_gallery/tests/test_notebook.py::test_latex_conversion PASSED [144/191] sphinx_gallery/tests/test_notebook.py::test_convert PASSED [145/191] sphinx_gallery/tests/test_notebook.py::test_headings PASSED [146/191] sphinx_gallery/tests/test_notebook.py::test_notebook_images_prefix[rel_no_prefix] PASSED [147/191] sphinx_gallery/tests/test_notebook.py::test_notebook_images_prefix[abs_no_prefix] PASSED [148/191] sphinx_gallery/tests/test_notebook.py::test_notebook_images_prefix[rel_prefix] PASSED [149/191] sphinx_gallery/tests/test_notebook.py::test_notebook_images_prefix[abs_prefix] PASSED [150/191] sphinx_gallery/tests/test_notebook.py::test_notebook_images_prefix[url_no_prefix] PASSED [151/191] sphinx_gallery/tests/test_notebook.py::test_notebook_images_prefix[url_prefix] PASSED [152/191] sphinx_gallery/tests/test_notebook.py::test_notebook_images_data_uri PASSED [153/191] sphinx_gallery/tests/test_notebook.py::test_jupyter_notebook PASSED [154/191] sphinx_gallery/tests/test_notebook.py::test_with_empty_args PASSED [155/191] sphinx_gallery/tests/test_notebook.py::test_missing_file PASSED [156/191] sphinx_gallery/tests/test_notebook.py::test_file_is_generated PASSED [157/191] sphinx_gallery/tests/test_py_source_parser.py::test_get_docstring_and_rest PASSED [158/191] sphinx_gallery/tests/test_py_source_parser.py::test_extract_file_config[No config\nin here.-file_conf0] PASSED [159/191] sphinx_gallery/tests/test_py_source_parser.py::test_extract_file_config[# sphinx_gallery_line_numbers = True-file_conf1] PASSED [160/191] sphinx_gallery/tests/test_py_source_parser.py::test_extract_file_config[ # sphinx_gallery_line_numbers = True -file_conf2] PASSED [161/191] sphinx_gallery/tests/test_py_source_parser.py::test_extract_file_config[#sphinx_gallery_line_numbers=True-file_conf3] PASSED [162/191] sphinx_gallery/tests/test_py_source_parser.py::test_extract_file_config[#sphinx_gallery_thumbnail_number\n=\n5-file_conf4] PASSED [163/191] sphinx_gallery/tests/test_py_source_parser.py::test_extract_file_config[#sphinx_gallery_thumbnail_number=1foo-None] PASSED [164/191] sphinx_gallery/tests/test_py_source_parser.py::test_extract_file_config[# sphinx_gallery_defer_figures-file_conf6] PASSED [165/191] sphinx_gallery/tests/test_py_source_parser.py::test_remove_config_comments[No config\nin here.-No config\nin here.] PASSED [166/191] sphinx_gallery/tests/test_py_source_parser.py::test_remove_config_comments[# sphinx_gallery_line_numbers = True-] PASSED [167/191] sphinx_gallery/tests/test_py_source_parser.py::test_remove_config_comments[ # sphinx_gallery_line_numbers = True -] PASSED [168/191] sphinx_gallery/tests/test_py_source_parser.py::test_remove_config_comments[#sphinx_gallery_line_numbers=True-] PASSED [169/191] sphinx_gallery/tests/test_py_source_parser.py::test_remove_config_comments[#sphinx_gallery_thumbnail_number\n=\n5-] PASSED [170/191] sphinx_gallery/tests/test_py_source_parser.py::test_remove_config_comments[a = 1\n# sphinx_gallery_line_numbers = True\nb = 1-a = 1\nb = 1] PASSED [171/191] sphinx_gallery/tests/test_py_source_parser.py::test_remove_config_comments[a = 1\n\n# sphinx_gallery_line_numbers = True\n\nb = 1-a = 1\n\n\nb = 1] PASSED [172/191] sphinx_gallery/tests/test_py_source_parser.py::test_remove_config_comments[# comment\n# sphinx_gallery_line_numbers = True\n# commment 2-# comment\n# commment 2] PASSED [173/191] sphinx_gallery/tests/test_py_source_parser.py::test_remove_config_comments[# sphinx_gallery_defer_figures-] PASSED [174/191] sphinx_gallery/tests/test_scrapers.py::test_save_matplotlib_figures[png] PASSED [175/191] sphinx_gallery/tests/test_scrapers.py::test_save_matplotlib_figures[svg] PASSED [176/191] sphinx_gallery/tests/test_scrapers.py::test_save_matplotlib_figures_hidpi PASSED [177/191] sphinx_gallery/tests/test_scrapers.py::test_save_mayavi_figures SKIPPED (Mayavi not installed) [178/191] sphinx_gallery/tests/test_scrapers.py::test_custom_scraper PASSED [179/191] sphinx_gallery/tests/test_scrapers.py::test_figure_rst[png] PASSED [180/191] sphinx_gallery/tests/test_scrapers.py::test_figure_rst[svg] PASSED [181/191] sphinx_gallery/tests/test_scrapers.py::test_figure_rst[jpg] PASSED [182/191] sphinx_gallery/tests/test_scrapers.py::test_figure_rst[gif] PASSED [183/191] sphinx_gallery/tests/test_scrapers.py::test_figure_rst_srcset[png] PASSED [184/191] sphinx_gallery/tests/test_scrapers.py::test_iterator PASSED [185/191] sphinx_gallery/tests/test_sorting.py::test_ExplicitOrder_sorting_key PASSED [186/191] sphinx_gallery/tests/test_sphinx_compatibility.py::test_status_iterator PASSED [187/191] sphinx_gallery/tests/test_sphinx_compatibility.py::test_status_iterator_color PASSED [188/191] sphinx_gallery/tests/test_sphinx_compatibility.py::test_get_logger PASSED [189/191] sphinx_gallery/tests/test_utils.py::test_replace_py_ipynb[some/file/name] PASSED [190/191] sphinx_gallery/tests/test_utils.py::test_replace_py_ipynb[/corner.pycase] PASSED [191/191] =============================================== FAILURES =============================================== ____________________________________ TestLoggingTee.test_full_line _____________________________________ self = log_collector = def test_full_line(self, log_collector): # A full line is output immediately. self.tee.write('Output\n') self.tee.flush() assert self.output_file.getvalue() == 'Output\n' > assert len(log_collector.calls['verbose']) == 2 E assert 0 == 2 E + where 0 = len([]) log_collector = self = sphinx_gallery/tests/test_gen_rst.py:897: AssertionError ____________________________ TestLoggingTee.test_incomplete_line_with_flush ____________________________ self = log_collector = def test_incomplete_line_with_flush(self, log_collector): # An incomplete line ... self.tee.write('Output') assert self.output_file.getvalue() == 'Output' > assert len(log_collector.calls['verbose']) == 1 E assert 0 == 1 E + where 0 = len([]) log_collector = self = sphinx_gallery/tests/test_gen_rst.py:905: AssertionError _________________________ TestLoggingTee.test_incomplete_line_with_more_output _________________________ self = log_collector = def test_incomplete_line_with_more_output(self, log_collector): # An incomplete line ... self.tee.write('Output') assert self.output_file.getvalue() == 'Output' > assert len(log_collector.calls['verbose']) == 1 E assert 0 == 1 E + where 0 = len([]) log_collector = self = sphinx_gallery/tests/test_gen_rst.py:917: AssertionError ____________________________________ TestLoggingTee.test_multi_line ____________________________________ self = log_collector = def test_multi_line(self, log_collector): self.tee.write('first line\rsecond line\nthird line') assert (self.output_file.getvalue() == 'first line\rsecond line\nthird line') verbose_calls = log_collector.calls['verbose'] > assert len(verbose_calls) == 3 E assert 0 == 3 E + where 0 = len([]) log_collector = self = verbose_calls = [] sphinx_gallery/tests/test_gen_rst.py:932: AssertionError =========================================== warnings summary =========================================== sphinx_gallery/scrapers.py:20 /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1/sphinx_gallery/scrapers.py:20: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import LooseVersion sphinx_gallery/tests/test_full.py: 23 warnings sphinx_gallery/tests/test_full_noexec.py: 12 warnings sphinx_gallery/tests/test_gen_gallery.py: 49 warnings sphinx_gallery/tests/test_gen_rst.py: 17 warnings /var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1/sphinx_gallery/utils.py:64: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead. img = img.resize((width_sc, height_sc), Image.BICUBIC) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ========================================= slowest 5 durations ========================================== 19.96s setup sphinx_gallery/tests/test_full.py::test_timings 7.89s call sphinx_gallery/tests/test_full.py::test_rebuild 4.29s setup sphinx_gallery/tests/test_full_noexec.py::test_dummy_image 4.19s call sphinx_gallery/tests/test_full.py::test_junit 0.68s call sphinx_gallery/tests/test_gen_gallery.py::test_only_warn_on_example_error ======================================= short test summary info ======================================== SKIPPED [1] sphinx_gallery/tests/test_scrapers.py:118: Mayavi not installed FAILED sphinx_gallery/tests/test_gen_rst.py::TestLoggingTee::test_full_line - assert 0 == 2 FAILED sphinx_gallery/tests/test_gen_rst.py::TestLoggingTee::test_incomplete_line_with_flush - assert... FAILED sphinx_gallery/tests/test_gen_rst.py::TestLoggingTee::test_incomplete_line_with_more_output - ... FAILED sphinx_gallery/tests/test_gen_rst.py::TestLoggingTee::test_multi_line - assert 0 == 3 ================ 4 failed, 186 passed, 1 skipped, 3 deselected, 102 warnings in 47.80s ================= * ERROR: dev-python/sphinx-gallery-0.10.1::gentoo failed (test phase): * pytest failed with python3.10 * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 3417: Called distutils-r1_src_test * environment, line 1651: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 689: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3092: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2651: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2649: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 1053: Called distutils-r1_run_phase 'python_test' * environment, line 1574: Called python_test * environment, line 3383: Called distutils-r1_python_test * environment, line 1524: Called epytest * environment, line 2159: Called die * The specific snippet of code: * "${@}" || die -n "pytest failed with ${EPYTHON}"; * * If you need support, post the output of `emerge --info '=dev-python/sphinx-gallery-0.10.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/sphinx-gallery-0.10.1::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-python/sphinx-gallery-0.10.1:20220720-085720.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/sphinx-gallery-0.10.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/sphinx-gallery-0.10.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1' * S: '/var/tmp/portage/dev-python/sphinx-gallery-0.10.1/work/sphinx-gallery-0.10.1'