Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 454794 Details for
Bug 580528
dev-python/pytest with dev-python/pytest-capturelog fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pytest-3.0.4 build.log
build.log (text/plain), 376.09 KB, created by
eroen
on 2016-11-30 20:38:18 UTC
(
hide
)
Description:
pytest-3.0.4 build.log
Filename:
MIME Type:
Creator:
eroen
Created:
2016-11-30 20:38:18 UTC
Size:
376.09 KB
patch
obsolete
> * Package: dev-python/pytest-3.0.4 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU > * FEATURES: preserve-libs sandbox test userpriv usersandbox > * python2_7: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python2.7 setup.py build >running build >running build_py >copying pytest.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib >creating /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/fixtures.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/main.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/freeze_support.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/terminal.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/debugging.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/deprecated.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/capture.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/unittest.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/runner.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/pastebin.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/_pluggy.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/junitxml.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/tmpdir.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/setupplan.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/mark.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/config.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/_argcomplete.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/setuponly.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/doctest.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/helpconfig.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/resultlog.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/recwarn.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/monkeypatch.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/nose.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/hookspec.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/skipping.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/pytester.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/compat.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/cacheprovider.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/python.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >copying _pytest/__init__.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest >creating /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/assertion >copying _pytest/assertion/util.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/assertion >copying _pytest/assertion/rewrite.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/assertion >copying _pytest/assertion/__init__.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/assertion >creating /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/_code >copying _pytest/_code/_py2traceback.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/_code >copying _pytest/_code/source.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/_code >copying _pytest/_code/code.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/_code >copying _pytest/_code/__init__.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/_code >creating /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/vendored_packages >copying _pytest/vendored_packages/pluggy.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/vendored_packages >copying _pytest/vendored_packages/__init__.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/vendored_packages >warning: build_py: byte-compiling is disabled, skipping. > > * python3_4: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python3.4 setup.py build >running build >running build_py >copying pytest.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib >creating /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/fixtures.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/main.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/freeze_support.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/terminal.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/debugging.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/deprecated.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/capture.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/unittest.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/runner.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/pastebin.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/_pluggy.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/junitxml.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/tmpdir.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/setupplan.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/mark.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/config.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/_argcomplete.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/setuponly.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/doctest.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/helpconfig.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/resultlog.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/recwarn.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/monkeypatch.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/nose.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/hookspec.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/skipping.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/pytester.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/compat.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/cacheprovider.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/python.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >copying _pytest/__init__.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest >creating /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/assertion >copying _pytest/assertion/util.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/assertion >copying _pytest/assertion/rewrite.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/assertion >copying _pytest/assertion/__init__.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/assertion >creating /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/_code >copying _pytest/_code/_py2traceback.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/_code >copying _pytest/_code/source.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/_code >copying _pytest/_code/code.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/_code >copying _pytest/_code/__init__.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/_code >creating /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/vendored_packages >copying _pytest/vendored_packages/pluggy.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/vendored_packages >copying _pytest/vendored_packages/__init__.py -> /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python3_4/lib/_pytest/vendored_packages >warning: build_py: byte-compiling is disabled, skipping. > > * python3_4: running distutils-r1_run_phase python_compile_all > * python2_7: running distutils-r1_run_phase python_test >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 -- /usr/bin/python2.7 >cachedir: .cache >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4, inifile: tox.ini >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collecting ... collected 1725 items > >testing/acceptance_test.py::TestGeneralUsage::test_config_error PASSED >testing/acceptance_test.py::TestGeneralUsage::test_root_conftest_syntax_error PASSED >testing/acceptance_test.py::TestGeneralUsage::test_early_hook_error_issue38_1 PASSED >testing/acceptance_test.py::TestGeneralUsage::test_early_hook_configure_error_issue38 PASSED >testing/acceptance_test.py::TestGeneralUsage::test_file_not_found PASSED >testing/acceptance_test.py::TestGeneralUsage::test_file_not_found_unconfigure_issue143 PASSED >testing/acceptance_test.py::TestGeneralUsage::test_config_preparse_plugin_option PASSED >testing/acceptance_test.py::TestGeneralUsage::test_assertion_magic PASSED >testing/acceptance_test.py::TestGeneralUsage::test_nested_import_error PASSED >testing/acceptance_test.py::TestGeneralUsage::test_not_collectable_arguments PASSED >testing/acceptance_test.py::TestGeneralUsage::test_issue486_better_reporting_on_conftest_load_failure PASSED >testing/acceptance_test.py::TestGeneralUsage::test_early_skip PASSED >testing/acceptance_test.py::TestGeneralUsage::test_issue88_initial_file_multinodes PASSED >testing/acceptance_test.py::TestGeneralUsage::test_issue93_initialnode_importing_capturing PASSED >testing/acceptance_test.py::TestGeneralUsage::test_conftest_printing_shows_if_error PASSED >testing/acceptance_test.py::TestGeneralUsage::test_chdir PASSED >testing/acceptance_test.py::TestGeneralUsage::test_issue109_sibling_conftests_not_loaded PASSED >testing/acceptance_test.py::TestGeneralUsage::test_directory_skipped PASSED >testing/acceptance_test.py::TestGeneralUsage::test_multiple_items_per_collector_byid PASSED >testing/acceptance_test.py::TestGeneralUsage::test_skip_on_generated_funcarg_id PASSED >testing/acceptance_test.py::TestGeneralUsage::test_direct_addressing_selects PASSED >testing/acceptance_test.py::TestGeneralUsage::test_direct_addressing_notfound PASSED >testing/acceptance_test.py::TestGeneralUsage::test_docstring_on_hookspec PASSED >testing/acceptance_test.py::TestGeneralUsage::test_initialization_error_issue49 PASSED >testing/acceptance_test.py::TestGeneralUsage::test_issue134_report_syntaxerror_when_collecting_member[test_fun.py] PASSED >testing/acceptance_test.py::TestGeneralUsage::test_issue134_report_syntaxerror_when_collecting_member[test_fun.py::test_a] PASSED >testing/acceptance_test.py::TestGeneralUsage::test_report_all_failed_collections_initargs PASSED >testing/acceptance_test.py::TestGeneralUsage::test_namespace_import_doesnt_confuse_import_hook PASSED >testing/acceptance_test.py::TestGeneralUsage::test_unknown_option PASSED >testing/acceptance_test.py::TestGeneralUsage::test_getsourcelines_error_issue553 PASSED >testing/acceptance_test.py::TestGeneralUsage::test_plugins_given_as_strings PASSED >testing/acceptance_test.py::TestGeneralUsage::test_parameterized_with_bytes_regex PASSED >testing/acceptance_test.py::TestInvocationVariants::test_earlyinit PASSED >testing/acceptance_test.py::TestInvocationVariants::test_pydoc PASSED >testing/acceptance_test.py::TestInvocationVariants::test_import_star_py_dot_test PASSED >testing/acceptance_test.py::TestInvocationVariants::test_import_star_pytest PASSED >testing/acceptance_test.py::TestInvocationVariants::test_double_pytestcmdline PASSED >testing/acceptance_test.py::TestInvocationVariants::test_python_minus_m_invocation_ok PASSED >testing/acceptance_test.py::TestInvocationVariants::test_python_minus_m_invocation_fail PASSED >testing/acceptance_test.py::TestInvocationVariants::test_python_pytest_package PASSED >testing/acceptance_test.py::TestInvocationVariants::test_equivalence_pytest_pytest PASSED >testing/acceptance_test.py::TestInvocationVariants::test_invoke_with_string PASSED >testing/acceptance_test.py::TestInvocationVariants::test_invoke_with_path PASSED >testing/acceptance_test.py::TestInvocationVariants::test_invoke_plugin_api PASSED >testing/acceptance_test.py::TestInvocationVariants::test_pyargs_importerror PASSED >testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_package PASSED >testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package PASSED >testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_package_not_exists PASSED >testing/acceptance_test.py::TestInvocationVariants::test_noclass_discovery_if_not_testcase xfail >testing/acceptance_test.py::TestInvocationVariants::test_doctest_id PASSED >testing/acceptance_test.py::TestInvocationVariants::test_core_backward_compatibility PASSED >testing/acceptance_test.py::TestInvocationVariants::test_has_plugin PASSED >testing/acceptance_test.py::TestDurations::test_calls PASSED >testing/acceptance_test.py::TestDurations::test_calls_show_2 FAILED >testing/acceptance_test.py::TestDurations::test_calls_showall PASSED >testing/acceptance_test.py::TestDurations::test_with_deselected PASSED >testing/acceptance_test.py::TestDurations::test_with_failing_collection PASSED >testing/acceptance_test.py::TestDurations::test_with_not PASSED >testing/acceptance_test.py::TestDurationWithFixture::test_setup_function PASSED >testing/acceptance_test.py::test_zipimport_hook SKIPPED >testing/deprecated_test.py::test_yield_tests_deprecation PASSED >testing/deprecated_test.py::test_funcarg_prefix_deprecation PASSED >testing/deprecated_test.py::test_pytest_setup_cfg_deprecated PASSED >testing/deprecated_test.py::test_str_args_deprecated PASSED >testing/deprecated_test.py::test_getfuncargvalue_is_deprecated PASSED >testing/deprecated_test.py::test_resultlog_is_deprecated PASSED >testing/test_argcomplete.py::TestArgComplete::test_compare_with_compgen PASSED >testing/test_argcomplete.py::TestArgComplete::test_remove_dir_prefix PASSED >testing/test_assertion.py::TestImportHookInstallation::test_conftest_assertion_rewrite[plain-True] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_conftest_assertion_rewrite[plain-False] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_conftest_assertion_rewrite[rewrite-True] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_conftest_assertion_rewrite[rewrite-False] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_pytest_plugins_rewrite[plain] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_pytest_plugins_rewrite[rewrite] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_pytest_plugins_rewrite_module_names[str] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_pytest_plugins_rewrite_module_names[list] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_installed_plugin_rewrite[development-plain] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_installed_plugin_rewrite[development-rewrite] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_installed_plugin_rewrite[installed-plain] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_installed_plugin_rewrite[installed-rewrite] PASSED >testing/test_assertion.py::TestImportHookInstallation::test_rewrite_ast PASSED >testing/test_assertion.py::TestImportHookInstallation::test_register_assert_rewrite_checks_types PASSED >testing/test_assertion.py::TestBinReprIntegration::test_pytest_assertrepr_compare_called PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_different_types PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_summary PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_text_diff PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_text_skipping PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_text_skipping_verbose PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_multiline_text_diff PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_list PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_iterable_full_diff[left0-right0- > Full diff: > - [0, 1] > ? ^ > + [0, 2] > ? ^ > ] PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_iterable_full_diff[left1-right1- > Full diff: > - {0: 1} > ? ^ > + {0: 2} > ? ^ > ] PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_iterable_full_diff[left2-right2- > Full diff: > - set([0, 1]) > ? ^ > + set([0, 2]) > ? ^ > ] PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_list_different_lenghts PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_dict PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_dict_omitting PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_dict_omitting_verbose PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_set PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_frozenzet PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_Sequence PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_list_tuples PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_list_bad_repr PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_one_repr_empty PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_repr_no_exc PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_unicode PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_nonascii_text PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_format_nonascii_explanation PASSED >testing/test_assertion.py::TestAssert_reprcompare::test_mojibake PASSED >testing/test_assertion.py::TestFormatExplanation::test_special_chars_full PASSED >testing/test_assertion.py::TestFormatExplanation::test_fmt_simple PASSED >testing/test_assertion.py::TestFormatExplanation::test_fmt_where PASSED >testing/test_assertion.py::TestFormatExplanation::test_fmt_and PASSED >testing/test_assertion.py::TestFormatExplanation::test_fmt_where_nested PASSED >testing/test_assertion.py::TestFormatExplanation::test_fmt_newline PASSED >testing/test_assertion.py::TestFormatExplanation::test_fmt_newline_escaped PASSED >testing/test_assertion.py::TestFormatExplanation::test_fmt_newline_before_where PASSED >testing/test_assertion.py::TestFormatExplanation::test_fmt_multi_newline_before_where PASSED >testing/test_assertion.py::test_python25_compile_issue257 PASSED >testing/test_assertion.py::test_rewritten PASSED >testing/test_assertion.py::test_reprcompare_notin PASSED >testing/test_assertion.py::test_pytest_assertrepr_compare_integration PASSED >testing/test_assertion.py::test_sequence_comparison_uses_repr PASSED >testing/test_assertion.py::test_assert_compare_truncate_longmessage PASSED >testing/test_assertion.py::test_assertrepr_loaded_per_dir PASSED >testing/test_assertion.py::test_assertion_options PASSED >testing/test_assertion.py::test_triple_quoted_string_issue113 PASSED >testing/test_assertion.py::test_traceback_failure PASSED >testing/test_assertion.py::test_exception_handling_no_traceback SKIPPED >testing/test_assertion.py::test_warn_missing PASSED >testing/test_assertion.py::test_recursion_source_decode PASSED >testing/test_assertion.py::test_AssertionError_message PASSED >testing/test_assertion.py::test_set_with_unsortable_elements PASSED >testing/test_assertion.py::test_diff_newline_at_end PASSED >testing/test_assertion.py::test_assert_tuple_warning PASSED >testing/test_assertion.py::test_assert_indirect_tuple_no_warning PASSED >testing/test_assertion.py::test_assert_with_unicode PASSED >testing/test_assertion.py::test_issue_1944 PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_place_initial_imports PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_dont_rewrite PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_name PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_assert_already_has_message PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_message PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_message_multiline PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_message_tuple PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_message_expr PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_message_escape PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_boolop PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_short_circut_evaluation PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_unary_op PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_binary_op PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_boolop_percent PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_at_operator_issue1290 SKIPPED >testing/test_assertrewrite.py::TestAssertionRewrite::test_call PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_attribute PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_comparisons PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_len PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_custom_reprcompare PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_assert_raising_nonzero_in_comparison PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_formatchar PASSED >testing/test_assertrewrite.py::TestAssertionRewrite::test_custom_repr PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_pycache_is_a_file PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_pycache_is_readonly PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_zipfile PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_readonly PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_dont_write_bytecode PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_pyc_vs_pyo PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_package PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_translate_newlines PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_package_without__init__py SKIPPED >testing/test_assertrewrite.py::TestRewriteOnImport::test_rewrite_warning PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_rewrite_module_imported_from_conftest PASSED >testing/test_assertrewrite.py::TestRewriteOnImport::test_remember_rewritten_modules PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_loader_is_package_false_for_module PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_loader_is_package_true_for_package PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_assume_ascii PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_detect_coding_cookie PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_detect_coding_cookie_second_line PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_detect_coding_cookie_crlf PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_sys_meta_path_munged PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_write_pyc PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_resources_provider_for_loader PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_read_pyc PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_reload_is_same PASSED >testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_get_data_support PASSED >testing/test_assertrewrite.py::test_issue731 PASSED >testing/test_assertrewrite.py::TestIssue925::test_simple_case PASSED >testing/test_assertrewrite.py::TestIssue925::test_long_case PASSED >testing/test_assertrewrite.py::TestIssue925::test_many_brackets PASSED >testing/test_cache.py::TestNewAPI::test_config_cache_makedir PASSED >testing/test_cache.py::TestNewAPI::test_config_cache_dataerror PASSED >testing/test_cache.py::TestNewAPI::test_cache_writefail_cachfile_silent PASSED >testing/test_cache.py::TestNewAPI::test_cache_writefail_permissions PASSED >testing/test_cache.py::TestNewAPI::test_cache_failure_warns FAILED >testing/test_cache.py::TestNewAPI::test_config_cache PASSED >testing/test_cache.py::TestNewAPI::test_cachefuncarg PASSED >testing/test_cache.py::test_cache_reportheader PASSED >testing/test_cache.py::test_cache_show PASSED >testing/test_cache.py::TestLastFailed::test_lastfailed_usecase PASSED >testing/test_cache.py::TestLastFailed::test_failedfirst_order PASSED >testing/test_cache.py::TestLastFailed::test_lastfailed_difference_invocations PASSED >testing/test_cache.py::TestLastFailed::test_lastfailed_usecase_splice PASSED >testing/test_cache.py::TestLastFailed::test_lastfailed_xpass PASSED >testing/test_cache.py::TestLastFailed::test_non_serializable_parametrize FAILED >testing/test_cache.py::TestLastFailed::test_lastfailed_collectfailure PASSED >testing/test_cache.py::TestLastFailed::test_lastfailed_failure_subset PASSED >testing/test_cache.py::TestLastFailed::test_lastfailed_creates_cache_when_needed PASSED >testing/test_capture.py::TestCaptureManager::test_getmethod_default_no_fd PASSED >testing/test_capture.py::TestCaptureManager::test_capturing_basic_api[no] PASSED >testing/test_capture.py::TestCaptureManager::test_capturing_basic_api[sys] PASSED >testing/test_capture.py::TestCaptureManager::test_capturing_basic_api[fd] PASSED >testing/test_capture.py::TestCaptureManager::test_init_capturing PASSED >testing/test_capture.py::test_capturing_unicode[fd] PASSED >testing/test_capture.py::test_capturing_unicode[sys] PASSED >testing/test_capture.py::test_capturing_bytes_in_utf8_encoding[fd] PASSED >testing/test_capture.py::test_capturing_bytes_in_utf8_encoding[sys] PASSED >testing/test_capture.py::test_collect_capturing PASSED >testing/test_capture.py::TestPerTestCapturing::test_capture_and_fixtures PASSED >testing/test_capture.py::TestPerTestCapturing::test_capture_scope_cache xfail >testing/test_capture.py::TestPerTestCapturing::test_no_carry_over PASSED >testing/test_capture.py::TestPerTestCapturing::test_teardown_capturing PASSED >testing/test_capture.py::TestPerTestCapturing::test_teardown_capturing_final PASSED >testing/test_capture.py::TestPerTestCapturing::test_capturing_outerr PASSED >testing/test_capture.py::TestLoggingInteraction::test_logging_stream_ownership PASSED >testing/test_capture.py::TestLoggingInteraction::test_logging_and_immediate_setupteardown PASSED >testing/test_capture.py::TestLoggingInteraction::test_logging_and_crossscope_fixtures PASSED >testing/test_capture.py::TestLoggingInteraction::test_logging_initialized_in_test PASSED >testing/test_capture.py::TestLoggingInteraction::test_conftestlogging_is_shown PASSED >testing/test_capture.py::TestLoggingInteraction::test_conftestlogging_and_test_logging PASSED >testing/test_capture.py::TestCaptureFixture::test_std_functional[opt0] PASSED >testing/test_capture.py::TestCaptureFixture::test_std_functional[opt1] PASSED >testing/test_capture.py::TestCaptureFixture::test_capsyscapfd PASSED >testing/test_capture.py::TestCaptureFixture::test_capturing_getfixturevalue FAILED >testing/test_capture.py::TestCaptureFixture::test_capture_is_represented_on_failure_issue128[sys] PASSED >testing/test_capture.py::TestCaptureFixture::test_capture_is_represented_on_failure_issue128[fd] PASSED >testing/test_capture.py::TestCaptureFixture::test_stdfd_functional PASSED >testing/test_capture.py::TestCaptureFixture::test_partial_setup_failure PASSED >testing/test_capture.py::TestCaptureFixture::test_keyboardinterrupt_disables_capturing PASSED >testing/test_capture.py::TestCaptureFixture::test_capture_and_logging PASSED >testing/test_capture.py::TestCaptureFixture::test_disabled_capture_fixture[capsys] PASSED >testing/test_capture.py::TestCaptureFixture::test_disabled_capture_fixture[capfd] PASSED >testing/test_capture.py::test_setup_failure_does_not_kill_capturing PASSED >testing/test_capture.py::test_fdfuncarg_skips_on_no_osdup PASSED >testing/test_capture.py::test_capture_conftest_runtest_setup PASSED >testing/test_capture.py::test_capture_badoutput_issue412 PASSED >testing/test_capture.py::test_capture_early_option_parsing PASSED >testing/test_capture.py::test_capture_binary_output PASSED >testing/test_capture.py::test_error_during_readouterr PASSED >testing/test_capture.py::TestTextIO::test_text PASSED >testing/test_capture.py::TestTextIO::test_unicode_and_str_mixture PASSED >testing/test_capture.py::test_bytes_io PASSED >testing/test_capture.py::test_dontreadfrominput PASSED >testing/test_capture.py::test_dontreadfrominput_buffer_python3 SKIPPED >testing/test_capture.py::test_dontreadfrominput_buffer_python2 PASSED >testing/test_capture.py::test_dupfile PASSED >testing/test_capture.py::test_dupfile_on_bytesio PASSED >testing/test_capture.py::test_dupfile_on_textio PASSED >testing/test_capture.py::TestFDCapture::test_simple PASSED >testing/test_capture.py::TestFDCapture::test_simple_many PASSED >testing/test_capture.py::TestFDCapture::test_simple_many_check_open_files SKIPPED >testing/test_capture.py::TestFDCapture::test_simple_fail_second_start PASSED >testing/test_capture.py::TestFDCapture::test_stderr PASSED >testing/test_capture.py::TestFDCapture::test_stdin PASSED >testing/test_capture.py::TestFDCapture::test_writeorg PASSED >testing/test_capture.py::TestFDCapture::test_simple_resume_suspend PASSED >testing/test_capture.py::TestStdCapture::test_capturing_done_simple PASSED >testing/test_capture.py::TestStdCapture::test_capturing_reset_simple PASSED >testing/test_capture.py::TestStdCapture::test_capturing_readouterr PASSED >testing/test_capture.py::TestStdCapture::test_capturing_readouterr_unicode PASSED >testing/test_capture.py::TestStdCapture::test_capturing_readouterr_decode_error_handling PASSED >testing/test_capture.py::TestStdCapture::test_reset_twice_error PASSED >testing/test_capture.py::TestStdCapture::test_capturing_modify_sysouterr_in_between PASSED >testing/test_capture.py::TestStdCapture::test_capturing_error_recursive PASSED >testing/test_capture.py::TestStdCapture::test_just_out_capture PASSED >testing/test_capture.py::TestStdCapture::test_just_err_capture PASSED >testing/test_capture.py::TestStdCapture::test_stdin_restored PASSED >testing/test_capture.py::TestStdCapture::test_stdin_nulled_by_default PASSED >testing/test_capture.py::TestStdCaptureFD::test_capturing_done_simple PASSED >testing/test_capture.py::TestStdCaptureFD::test_capturing_reset_simple PASSED >testing/test_capture.py::TestStdCaptureFD::test_capturing_readouterr PASSED >testing/test_capture.py::TestStdCaptureFD::test_capturing_readouterr_unicode PASSED >testing/test_capture.py::TestStdCaptureFD::test_capturing_readouterr_decode_error_handling PASSED >testing/test_capture.py::TestStdCaptureFD::test_reset_twice_error PASSED >testing/test_capture.py::TestStdCaptureFD::test_capturing_modify_sysouterr_in_between PASSED >testing/test_capture.py::TestStdCaptureFD::test_capturing_error_recursive PASSED >testing/test_capture.py::TestStdCaptureFD::test_just_out_capture PASSED >testing/test_capture.py::TestStdCaptureFD::test_just_err_capture PASSED >testing/test_capture.py::TestStdCaptureFD::test_stdin_restored PASSED >testing/test_capture.py::TestStdCaptureFD::test_stdin_nulled_by_default PASSED >testing/test_capture.py::TestStdCaptureFD::test_simple_only_fd PASSED >testing/test_capture.py::TestStdCaptureFD::test_intermingling PASSED >testing/test_capture.py::TestStdCaptureFD::test_many SKIPPED >testing/test_capture.py::TestStdCaptureFDinvalidFD::test_stdcapture_fd_invalid_fd PASSED >testing/test_capture.py::test_capture_not_started_but_reset PASSED >testing/test_capture.py::test_fdcapture_tmpfile_remains_the_same[True] PASSED >testing/test_capture.py::test_fdcapture_tmpfile_remains_the_same[False] PASSED >testing/test_capture.py::test_close_and_capture_again PASSED >testing/test_capture.py::test_capturing_and_logging_fundamentals[SysCapture] PASSED >testing/test_capture.py::test_capturing_and_logging_fundamentals[FDCapture] PASSED >testing/test_capture.py::test_error_attribute_issue555 PASSED >testing/test_capture.py::test_dontreadfrominput_has_encoding PASSED >testing/test_capture.py::test_pickling_and_unpickling_enocded_file PASSED >testing/test_collection.py::TestCollector::test_collect_versus_item PASSED >testing/test_collection.py::TestCollector::test_compat_attributes PASSED >testing/test_collection.py::TestCollector::test_check_equality PASSED >testing/test_collection.py::TestCollector::test_getparent PASSED >testing/test_collection.py::TestCollector::test_getcustomfile_roundtrip PASSED >testing/test_collection.py::TestCollectFS::test_ignored_certain_directories PASSED >testing/test_collection.py::TestCollectFS::test_custom_norecursedirs PASSED >testing/test_collection.py::TestCollectFS::test_testpaths_ini PASSED >testing/test_collection.py::TestCollectPluginHookRelay::test_pytest_collect_file PASSED >testing/test_collection.py::TestCollectPluginHookRelay::test_pytest_collect_directory PASSED >testing/test_collection.py::TestPrunetraceback::test_custom_repr_failure PASSED >testing/test_collection.py::TestPrunetraceback::test_collect_report_postprocessing xfail >testing/test_collection.py::TestCustomConftests::test_ignore_collect_path PASSED >testing/test_collection.py::TestCustomConftests::test_ignore_collect_not_called_on_argument PASSED >testing/test_collection.py::TestCustomConftests::test_collectignore_exclude_on_option PASSED >testing/test_collection.py::TestCustomConftests::test_pytest_fs_collect_hooks_are_seen PASSED >testing/test_collection.py::TestCustomConftests::test_pytest_collect_file_from_sister_dir PASSED >testing/test_collection.py::TestSession::test_parsearg PASSED >testing/test_collection.py::TestSession::test_collect_topdir PASSED >testing/test_collection.py::TestSession::test_collect_protocol_single_function PASSED >testing/test_collection.py::TestSession::test_collect_protocol_method PASSED >testing/test_collection.py::TestSession::test_collect_custom_nodes_multi_id PASSED >testing/test_collection.py::TestSession::test_collect_subdir_event_ordering PASSED >testing/test_collection.py::TestSession::test_collect_two_commandline_args PASSED >testing/test_collection.py::TestSession::test_serialization_byid PASSED >testing/test_collection.py::TestSession::test_find_byid_without_instance_parents PASSED >testing/test_collection.py::Test_getinitialnodes::test_global_file PASSED >testing/test_collection.py::Test_getinitialnodes::test_pkgfile PASSED >testing/test_collection.py::Test_genitems::test_check_collect_hashes PASSED >testing/test_collection.py::Test_genitems::test_example_items1 PASSED >testing/test_collection.py::Test_genitems::test_class_and_functions_discovery_using_glob PASSED >testing/test_collection.py::test_matchnodes_two_collections_same_file PASSED >testing/test_collection.py::TestNodekeywords::test_no_under PASSED >testing/test_collection.py::TestNodekeywords::test_issue345 PASSED >testing/test_collection.py::test_exit_on_collection_error PASSED >testing/test_collection.py::test_exit_on_collection_with_maxfail_smaller_than_n_errors PASSED >testing/test_collection.py::test_exit_on_collection_with_maxfail_bigger_than_n_errors PASSED >testing/test_collection.py::test_continue_on_collection_errors FAILED >testing/test_collection.py::test_continue_on_collection_errors_maxfail FAILED >testing/test_config.py::TestParseIni::test_getcfg_and_config[pytest-pytest.ini] PASSED >testing/test_config.py::TestParseIni::test_getcfg_and_config[tool:pytest-setup.cfg] PASSED >testing/test_config.py::TestParseIni::test_getcfg_empty_path PASSED >testing/test_config.py::TestParseIni::test_append_parse_args PASSED >testing/test_config.py::TestParseIni::test_tox_ini_wrong_version PASSED >testing/test_config.py::TestParseIni::test_ini_names[tool:pytest-setup.cfg] PASSED >testing/test_config.py::TestParseIni::test_ini_names[pytest-tox.ini] PASSED >testing/test_config.py::TestParseIni::test_ini_names[pytest-pytest.ini] PASSED >testing/test_config.py::TestParseIni::test_toxini_before_lower_pytestini PASSED >testing/test_config.py::TestParseIni::test_confcutdir xfail >testing/test_config.py::TestConfigCmdlineParsing::test_parsing_again_fails PASSED >testing/test_config.py::TestConfigCmdlineParsing::test_explicitly_specified_config_file_is_loaded PASSED >testing/test_config.py::TestConfigCmdlineParsing::test_absolute_win32_path PASSED >testing/test_config.py::TestConfigAPI::test_config_trace PASSED >testing/test_config.py::TestConfigAPI::test_config_getoption PASSED >testing/test_config.py::TestConfigAPI::test_config_getoption_unicode PASSED >testing/test_config.py::TestConfigAPI::test_config_getvalueorskip PASSED >testing/test_config.py::TestConfigAPI::test_config_getvalueorskip_None PASSED >testing/test_config.py::TestConfigAPI::test_getoption PASSED >testing/test_config.py::TestConfigAPI::test_getconftest_pathlist PASSED >testing/test_config.py::TestConfigAPI::test_addini PASSED >testing/test_config.py::TestConfigAPI::test_addini_pathlist PASSED >testing/test_config.py::TestConfigAPI::test_addini_args PASSED >testing/test_config.py::TestConfigAPI::test_addini_linelist PASSED >testing/test_config.py::TestConfigAPI::test_addini_bool[True-True] PASSED >testing/test_config.py::TestConfigAPI::test_addini_bool[no-False] PASSED >testing/test_config.py::TestConfigAPI::test_addini_bool[no-ini-True] PASSED >testing/test_config.py::TestConfigAPI::test_addinivalue_line_existing PASSED >testing/test_config.py::TestConfigAPI::test_addinivalue_line_new PASSED >testing/test_config.py::TestConfigFromdictargs::test_basic_behavior PASSED >testing/test_config.py::TestConfigFromdictargs::test_origargs PASSED >testing/test_config.py::TestConfigFromdictargs::test_inifilename PASSED >testing/test_config.py::test_options_on_small_file_do_not_blow_up PASSED >testing/test_config.py::test_preparse_ordering_with_setuptools PASSED >testing/test_config.py::test_setuptools_importerror_issue1479 PASSED >testing/test_config.py::test_plugin_preparse_prevents_setuptools_loading PASSED >testing/test_config.py::test_cmdline_processargs_simple PASSED >testing/test_config.py::test_invalid_options_show_extra_information PASSED >testing/test_config.py::test_consider_args_after_options_for_rootdir_and_inifile[args0] PASSED >testing/test_config.py::test_consider_args_after_options_for_rootdir_and_inifile[args1] PASSED >testing/test_config.py::test_consider_args_after_options_for_rootdir_and_inifile[args2] PASSED >testing/test_config.py::test_consider_args_after_options_for_rootdir_and_inifile[args3] PASSED >testing/test_config.py::test_toolongargs_issue224 PASSED >testing/test_config.py::test_notify_exception PASSED >testing/test_config.py::test_load_initial_conftest_last_ordering PASSED >testing/test_config.py::TestWarning::test_warn_config PASSED >testing/test_config.py::TestWarning::test_warn_on_test_item_from_request PASSED >testing/test_config.py::TestRootdir::test_simple_noini PASSED >testing/test_config.py::TestRootdir::test_with_ini[setup.cfg] PASSED >testing/test_config.py::TestRootdir::test_with_ini[tox.ini] PASSED >testing/test_config.py::TestRootdir::test_with_ini[pytest.ini] PASSED >testing/test_config.py::TestRootdir::test_pytestini_overides_empty_other[setup.cfg] PASSED >testing/test_config.py::TestRootdir::test_pytestini_overides_empty_other[tox.ini] PASSED >testing/test_config.py::TestRootdir::test_setuppy_fallback PASSED >testing/test_config.py::TestRootdir::test_nothing PASSED >testing/test_config.py::TestRootdir::test_with_specific_inifile PASSED >testing/test_config.py::TestOverrideIniArgs::test_override_ini_names[setup.cfg] PASSED >testing/test_config.py::TestOverrideIniArgs::test_override_ini_names[tox.ini] PASSED >testing/test_config.py::TestOverrideIniArgs::test_override_ini_names[pytest.ini] PASSED >testing/test_config.py::TestOverrideIniArgs::test_override_ini_pathlist PASSED >testing/test_config.py::TestOverrideIniArgs::test_override_multiple_and_default PASSED >testing/test_config.py::TestOverrideIniArgs::test_with_arg_outside_cwd_without_inifile PASSED >testing/test_config.py::TestOverrideIniArgs::test_with_arg_outside_cwd_with_inifile PASSED >testing/test_config.py::TestOverrideIniArgs::test_with_non_dir_arg[dirs0] PASSED >testing/test_config.py::TestOverrideIniArgs::test_with_non_dir_arg[dirs1] PASSED >testing/test_config.py::TestOverrideIniArgs::test_with_non_dir_arg[dirs2] PASSED >testing/test_config.py::TestOverrideIniArgs::test_with_existing_file_in_subdir PASSED >testing/test_conftest.py::TestConftestValueAccessGlobal::test_basic_init[global] PASSED >testing/test_conftest.py::TestConftestValueAccessGlobal::test_immediate_initialiation_and_incremental_are_the_same[global] PASSED >testing/test_conftest.py::TestConftestValueAccessGlobal::test_value_access_not_existing[global] PASSED >testing/test_conftest.py::TestConftestValueAccessGlobal::test_value_access_by_path[global] PASSED >testing/test_conftest.py::TestConftestValueAccessGlobal::test_value_access_with_confmod[global] PASSED >testing/test_conftest.py::TestConftestValueAccessGlobal::test_basic_init[inpackage] PASSED >testing/test_conftest.py::TestConftestValueAccessGlobal::test_immediate_initialiation_and_incremental_are_the_same[inpackage] PASSED >testing/test_conftest.py::TestConftestValueAccessGlobal::test_value_access_not_existing[inpackage] PASSED >testing/test_conftest.py::TestConftestValueAccessGlobal::test_value_access_by_path[inpackage] PASSED >testing/test_conftest.py::TestConftestValueAccessGlobal::test_value_access_with_confmod[inpackage] PASSED >testing/test_conftest.py::test_conftest_in_nonpkg_with_init PASSED >testing/test_conftest.py::test_doubledash_considered PASSED >testing/test_conftest.py::test_issue151_load_all_conftests PASSED >testing/test_conftest.py::test_conftest_global_import PASSED >testing/test_conftest.py::test_conftestcutdir PASSED >testing/test_conftest.py::test_conftestcutdir_inplace_considered PASSED >testing/test_conftest.py::test_setinitial_conftest_subdirs[test] PASSED >testing/test_conftest.py::test_setinitial_conftest_subdirs[tests] PASSED >testing/test_conftest.py::test_setinitial_conftest_subdirs[whatever] PASSED >testing/test_conftest.py::test_setinitial_conftest_subdirs[.dotdir] PASSED >testing/test_conftest.py::test_conftest_confcutdir PASSED >testing/test_conftest.py::test_no_conftest PASSED >testing/test_conftest.py::test_conftest_existing_resultlog PASSED >testing/test_conftest.py::test_conftest_existing_junitxml PASSED >testing/test_conftest.py::test_conftest_import_order PASSED >testing/test_conftest.py::test_fixture_dependency PASSED >testing/test_conftest.py::test_conftest_found_with_double_dash PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[runner-..-3] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[package-..-3] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[swc-../..-3] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[snc-../..-3] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[runner-../package-3] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[package-.-3] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[swc-..-3] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[snc-..-3] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[runner-../package/swc-1] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[package-./swc-1] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[swc-.-1] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[snc-../swc-1] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[runner-../package/snc-1] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[package-./snc-1] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[swc-../snc-1] PASSED >testing/test_conftest.py::TestConftestVisibility::test_parsefactories_relative_node_ids[snc-.-1] PASSED >testing/test_conftest.py::test_search_conftest_up_to_inifile[.-2-0] PASSED >testing/test_conftest.py::test_search_conftest_up_to_inifile[src-1-1] PASSED >testing/test_conftest.py::test_search_conftest_up_to_inifile[None-1-1] PASSED >testing/test_conftest.py::test_issue1073_conftest_special_objects PASSED >testing/test_conftest.py::test_conftest_exception_handling PASSED >testing/test_doctest.py::TestDoctests::test_collect_testtextfile PASSED >testing/test_doctest.py::TestDoctests::test_collect_module_empty PASSED >testing/test_doctest.py::TestDoctests::test_collect_module_single_modulelevel_doctest PASSED >testing/test_doctest.py::TestDoctests::test_collect_module_two_doctest_one_modulelevel PASSED >testing/test_doctest.py::TestDoctests::test_collect_module_two_doctest_no_modulelevel PASSED >testing/test_doctest.py::TestDoctests::test_simple_doctestfile PASSED >testing/test_doctest.py::TestDoctests::test_new_pattern PASSED >testing/test_doctest.py::TestDoctests::test_multiple_patterns PASSED >testing/test_doctest.py::TestDoctests::test_doctest_unexpected_exception PASSED >testing/test_doctest.py::TestDoctests::test_docstring_context_around_error PASSED >testing/test_doctest.py::TestDoctests::test_doctest_linedata_missing PASSED >testing/test_doctest.py::TestDoctests::test_doctest_unex_importerror_only_txt PASSED >testing/test_doctest.py::TestDoctests::test_doctest_unex_importerror_with_module PASSED >testing/test_doctest.py::TestDoctests::test_doctestmodule PASSED >testing/test_doctest.py::TestDoctests::test_doctestmodule_external_and_issue116 PASSED >testing/test_doctest.py::TestDoctests::test_txtfile_failing PASSED >testing/test_doctest.py::TestDoctests::test_txtfile_with_fixtures PASSED >testing/test_doctest.py::TestDoctests::test_txtfile_with_usefixtures_in_ini PASSED >testing/test_doctest.py::TestDoctests::test_doctestmodule_with_fixtures PASSED >testing/test_doctest.py::TestDoctests::test_doctestmodule_three_tests PASSED >testing/test_doctest.py::TestDoctests::test_doctestmodule_two_tests_one_fail PASSED >testing/test_doctest.py::TestDoctests::test_ignored_whitespace PASSED >testing/test_doctest.py::TestDoctests::test_non_ignored_whitespace PASSED >testing/test_doctest.py::TestDoctests::test_ignored_whitespace_glob PASSED >testing/test_doctest.py::TestDoctests::test_non_ignored_whitespace_glob PASSED >testing/test_doctest.py::TestDoctests::test_contains_unicode FAILED >testing/test_doctest.py::TestDoctests::test_ignore_import_errors_on_doctest PASSED >testing/test_doctest.py::TestDoctests::test_junit_report_for_doctest PASSED >testing/test_doctest.py::TestLiterals::test_allow_unicode[ini] PASSED >testing/test_doctest.py::TestLiterals::test_allow_unicode[comment] PASSED >testing/test_doctest.py::TestLiterals::test_allow_bytes[ini] PASSED >testing/test_doctest.py::TestLiterals::test_allow_bytes[comment] PASSED >testing/test_doctest.py::TestLiterals::test_unicode_string PASSED >testing/test_doctest.py::TestLiterals::test_bytes_literal PASSED >testing/test_doctest.py::TestDoctestSkips::test_one_skipped[text] PASSED >testing/test_doctest.py::TestDoctestSkips::test_one_skipped[module] PASSED >testing/test_doctest.py::TestDoctestSkips::test_one_skipped_failed[text] PASSED >testing/test_doctest.py::TestDoctestSkips::test_one_skipped_failed[module] PASSED >testing/test_doctest.py::TestDoctestSkips::test_all_skipped[text] PASSED >testing/test_doctest.py::TestDoctestSkips::test_all_skipped[module] PASSED >testing/test_doctest.py::TestDoctestSkips::test_vacuous_all_skipped[text] PASSED >testing/test_doctest.py::TestDoctestSkips::test_vacuous_all_skipped[module] PASSED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_doctest_module_session_fixture PASSED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_scopes[True-module] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_scopes[True-session] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_scopes[True-class] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_scopes[True-function] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_scopes[False-module] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_scopes[False-session] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_scopes[False-class] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_scopes[False-function] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[True-True-module] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[True-True-session] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[True-True-class] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[True-True-function] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[True-False-module] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[True-False-session] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[True-False-class] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[True-False-function] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[False-True-module] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[False-True-session] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[False-True-class] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[False-True-function] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[False-False-module] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[False-False-session] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[False-False-class] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_fixture_module_doctest_scopes[False-False-function] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_request_attributes[module] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_request_attributes[session] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_request_attributes[class] FAILED >testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_request_attributes[function] FAILED >testing/test_doctest.py::TestDoctestNamespaceFixture::test_namespace_doctestfile[module] PASSED >testing/test_doctest.py::TestDoctestNamespaceFixture::test_namespace_doctestfile[session] PASSED >testing/test_doctest.py::TestDoctestNamespaceFixture::test_namespace_doctestfile[class] PASSED >testing/test_doctest.py::TestDoctestNamespaceFixture::test_namespace_doctestfile[function] PASSED >testing/test_doctest.py::TestDoctestNamespaceFixture::test_namespace_pyfile[module] PASSED >testing/test_doctest.py::TestDoctestNamespaceFixture::test_namespace_pyfile[session] PASSED >testing/test_doctest.py::TestDoctestNamespaceFixture::test_namespace_pyfile[class] PASSED >testing/test_doctest.py::TestDoctestNamespaceFixture::test_namespace_pyfile[function] PASSED >testing/test_doctest.py::TestDoctestReportingOption::test_doctest_report_udiff[udiff] PASSED >testing/test_doctest.py::TestDoctestReportingOption::test_doctest_report_udiff[UDIFF] PASSED >testing/test_doctest.py::TestDoctestReportingOption::test_doctest_report_udiff[uDiFf] PASSED >testing/test_doctest.py::TestDoctestReportingOption::test_doctest_report_cdiff PASSED >testing/test_doctest.py::TestDoctestReportingOption::test_doctest_report_ndiff PASSED >testing/test_doctest.py::TestDoctestReportingOption::test_doctest_report_none_or_only_first_failure[none] PASSED >testing/test_doctest.py::TestDoctestReportingOption::test_doctest_report_none_or_only_first_failure[only_first_failure] PASSED >testing/test_doctest.py::TestDoctestReportingOption::test_doctest_report_invalid PASSED >testing/test_entry_points.py::test_entry_point_exist[py.test] PASSED >testing/test_entry_points.py::test_entry_point_exist[pytest] PASSED >testing/test_entry_points.py::test_pytest_entry_points_are_identical PASSED >testing/test_helpconfig.py::test_version PASSED >testing/test_helpconfig.py::test_help PASSED >testing/test_helpconfig.py::test_hookvalidation_unknown PASSED >testing/test_helpconfig.py::test_hookvalidation_optional PASSED >testing/test_helpconfig.py::test_traceconfig PASSED >testing/test_helpconfig.py::test_debug PASSED >testing/test_helpconfig.py::test_PYTEST_DEBUG PASSED >testing/test_junitxml.py::TestPython::test_summing_simple PASSED >testing/test_junitxml.py::TestPython::test_summing_simple_with_errors PASSED >testing/test_junitxml.py::TestPython::test_timing_function PASSED >testing/test_junitxml.py::TestPython::test_setup_error PASSED >testing/test_junitxml.py::TestPython::test_teardown_error PASSED >testing/test_junitxml.py::TestPython::test_skip_contains_name_reason PASSED >testing/test_junitxml.py::TestPython::test_mark_skip_contains_name_reason PASSED >testing/test_junitxml.py::TestPython::test_mark_skipif_contains_name_reason PASSED >testing/test_junitxml.py::TestPython::test_classname_instance PASSED >testing/test_junitxml.py::TestPython::test_classname_nested_dir PASSED >testing/test_junitxml.py::TestPython::test_internal_error PASSED >testing/test_junitxml.py::TestPython::test_failure_function PASSED >testing/test_junitxml.py::TestPython::test_failure_verbose_message PASSED >testing/test_junitxml.py::TestPython::test_failure_escape PASSED >testing/test_junitxml.py::TestPython::test_junit_prefixing PASSED >testing/test_junitxml.py::TestPython::test_xfailure_function PASSED >testing/test_junitxml.py::TestPython::test_xfailure_xpass PASSED >testing/test_junitxml.py::TestPython::test_xfailure_xpass_strict PASSED >testing/test_junitxml.py::TestPython::test_collect_error PASSED >testing/test_junitxml.py::TestPython::test_unicode PASSED >testing/test_junitxml.py::TestPython::test_assertion_binchars PASSED >testing/test_junitxml.py::TestPython::test_pass_captures_stdout PASSED >testing/test_junitxml.py::TestPython::test_pass_captures_stderr PASSED >testing/test_junitxml.py::TestPython::test_setup_error_captures_stdout PASSED >testing/test_junitxml.py::TestPython::test_setup_error_captures_stderr PASSED >testing/test_junitxml.py::test_mangle_test_address PASSED >testing/test_junitxml.py::test_dont_configure_on_slaves PASSED >testing/test_junitxml.py::TestNonPython::test_summing_simple PASSED >testing/test_junitxml.py::test_nullbyte PASSED >testing/test_junitxml.py::test_nullbyte_replace PASSED >testing/test_junitxml.py::test_invalid_xml_escape PASSED >testing/test_junitxml.py::test_logxml_path_expansion PASSED >testing/test_junitxml.py::test_logxml_changingdir PASSED >testing/test_junitxml.py::test_logxml_makedir PASSED >testing/test_junitxml.py::test_escaped_parametrized_names_xml PASSED >testing/test_junitxml.py::test_double_colon_split_function_issue469 PASSED >testing/test_junitxml.py::test_double_colon_split_method_issue469 PASSED >testing/test_junitxml.py::test_unicode_issue368 PASSED >testing/test_junitxml.py::test_record_property PASSED >testing/test_junitxml.py::test_record_property_same_name PASSED >testing/test_junitxml.py::test_random_report_log_xdist PASSED >testing/test_junitxml.py::test_runs_twice PASSED >testing/test_junitxml.py::test_runs_twice_xdist xfail >testing/test_junitxml.py::test_fancy_items_regression PASSED >testing/test_junitxml.py::test_global_properties PASSED >testing/test_mark.py::TestMark::test_markinfo_repr PASSED >testing/test_mark.py::TestMark::test_pytest_exists_in_namespace_all PASSED >testing/test_mark.py::TestMark::test_pytest_mark_notcallable PASSED >testing/test_mark.py::TestMark::test_pytest_mark_name_starts_with_underscore PASSED >testing/test_mark.py::TestMark::test_pytest_mark_bare PASSED >testing/test_mark.py::TestMark::test_pytest_mark_keywords PASSED >testing/test_mark.py::TestMark::test_apply_multiple_and_merge PASSED >testing/test_mark.py::TestMark::test_pytest_mark_positional PASSED >testing/test_mark.py::TestMark::test_pytest_mark_positional_func_and_keyword PASSED >testing/test_mark.py::TestMark::test_pytest_mark_reuse PASSED >testing/test_mark.py::test_marked_class_run_twice PASSED >testing/test_mark.py::test_ini_markers PASSED >testing/test_mark.py::test_markers_option PASSED >testing/test_mark.py::test_markers_option_with_plugin_in_current_dir PASSED >testing/test_mark.py::test_mark_on_pseudo_function PASSED >testing/test_mark.py::test_strict_prohibits_unregistered_markers PASSED >testing/test_mark.py::test_mark_option[spec0] PASSED >testing/test_mark.py::test_mark_option[spec1] PASSED >testing/test_mark.py::test_mark_option[spec2] PASSED >testing/test_mark.py::test_mark_option[spec3] PASSED >testing/test_mark.py::test_mark_option_custom[spec0] PASSED >testing/test_mark.py::test_mark_option_custom[spec1] PASSED >testing/test_mark.py::test_keyword_option_custom[spec0] PASSED >testing/test_mark.py::test_keyword_option_custom[spec1] PASSED >testing/test_mark.py::test_keyword_option_custom[spec2] PASSED >testing/test_mark.py::test_keyword_option_custom[spec3] PASSED >testing/test_mark.py::test_keyword_option_parametrize[spec0] PASSED >testing/test_mark.py::test_keyword_option_parametrize[spec1] PASSED >testing/test_mark.py::test_keyword_option_parametrize[spec2] PASSED >testing/test_mark.py::test_parametrized_collected_from_command_line PASSED >testing/test_mark.py::TestFunctional::test_mark_per_function PASSED >testing/test_mark.py::TestFunctional::test_mark_per_module PASSED >testing/test_mark.py::TestFunctional::test_marklist_per_class PASSED >testing/test_mark.py::TestFunctional::test_marklist_per_module PASSED >testing/test_mark.py::TestFunctional::test_mark_per_class_decorator PASSED >testing/test_mark.py::TestFunctional::test_mark_per_class_decorator_plus_existing_dec PASSED >testing/test_mark.py::TestFunctional::test_merging_markers PASSED >testing/test_mark.py::TestFunctional::test_merging_markers_deep xfail >testing/test_mark.py::TestFunctional::test_mark_decorator_subclass_does_not_propagate_to_base PASSED >testing/test_mark.py::TestFunctional::test_mark_should_not_pass_to_siebling_class xfail >testing/test_mark.py::TestFunctional::test_mark_decorator_baseclasses_merged PASSED >testing/test_mark.py::TestFunctional::test_mark_with_wrong_marker PASSED >testing/test_mark.py::TestFunctional::test_mark_dynamically_in_funcarg PASSED >testing/test_mark.py::TestFunctional::test_merging_markers_two_functions PASSED >testing/test_mark.py::TestFunctional::test_no_marker_match_on_unmarked_names PASSED >testing/test_mark.py::TestFunctional::test_keywords_at_node_level PASSED >testing/test_mark.py::TestFunctional::test_keyword_added_for_session PASSED >testing/test_mark.py::TestFunctional::test_mark_from_parameters xfail >testing/test_mark.py::TestKeywordSelection::test_select_simple PASSED >testing/test_mark.py::TestKeywordSelection::test_select_extra_keywords[xxx] PASSED >testing/test_mark.py::TestKeywordSelection::test_select_extra_keywords[xxx and test_2] PASSED >testing/test_mark.py::TestKeywordSelection::test_select_extra_keywords[TestClass] PASSED >testing/test_mark.py::TestKeywordSelection::test_select_extra_keywords[xxx and not test_1] PASSED >testing/test_mark.py::TestKeywordSelection::test_select_extra_keywords[TestClass and test_2] PASSED >testing/test_mark.py::TestKeywordSelection::test_select_extra_keywords[xxx and TestClass and test_2] PASSED >testing/test_mark.py::TestKeywordSelection::test_select_starton PASSED >testing/test_mark.py::TestKeywordSelection::test_keyword_extra PASSED >testing/test_mark.py::TestKeywordSelection::test_keyword_extra_dash xfail >testing/test_mark.py::TestKeywordSelection::test_no_magic_values PASSED >testing/test_monkeypatch.py::test_setattr PASSED >testing/test_monkeypatch.py::TestSetattrWithImportPath::test_string_expression PASSED >testing/test_monkeypatch.py::TestSetattrWithImportPath::test_string_expression_class PASSED >testing/test_monkeypatch.py::TestSetattrWithImportPath::test_unicode_string PASSED >testing/test_monkeypatch.py::TestSetattrWithImportPath::test_wrong_target PASSED >testing/test_monkeypatch.py::TestSetattrWithImportPath::test_unknown_import PASSED >testing/test_monkeypatch.py::TestSetattrWithImportPath::test_unknown_attr PASSED >testing/test_monkeypatch.py::TestSetattrWithImportPath::test_unknown_attr_non_raising PASSED >testing/test_monkeypatch.py::TestSetattrWithImportPath::test_delattr PASSED >testing/test_monkeypatch.py::test_delattr PASSED >testing/test_monkeypatch.py::test_setitem PASSED >testing/test_monkeypatch.py::test_setitem_deleted_meanwhile PASSED >testing/test_monkeypatch.py::test_setenv_deleted_meanwhile[True] PASSED >testing/test_monkeypatch.py::test_setenv_deleted_meanwhile[False] PASSED >testing/test_monkeypatch.py::test_delitem PASSED >testing/test_monkeypatch.py::test_setenv PASSED >testing/test_monkeypatch.py::test_delenv PASSED >testing/test_monkeypatch.py::test_setenv_prepend PASSED >testing/test_monkeypatch.py::test_monkeypatch_plugin PASSED >testing/test_monkeypatch.py::test_syspath_prepend PASSED >testing/test_monkeypatch.py::test_syspath_prepend_double_undo PASSED >testing/test_monkeypatch.py::test_chdir_with_path_local PASSED >testing/test_monkeypatch.py::test_chdir_with_str PASSED >testing/test_monkeypatch.py::test_chdir_undo PASSED >testing/test_monkeypatch.py::test_chdir_double_undo PASSED >testing/test_monkeypatch.py::test_issue185_time_breaks PASSED >testing/test_monkeypatch.py::test_importerror PASSED >testing/test_monkeypatch.py::test_issue156_undo_staticmethod[new] PASSED >testing/test_monkeypatch.py::test_issue156_undo_staticmethod[new-inherit] PASSED >testing/test_monkeypatch.py::test_issue156_undo_staticmethod[old] PASSED >testing/test_monkeypatch.py::test_issue156_undo_staticmethod[old-inherit] PASSED >testing/test_monkeypatch.py::test_issue1338_name_resolving PASSED >testing/test_nose.py::test_nose_setup PASSED >testing/test_nose.py::test_setup_func_with_setup_decorator PASSED >testing/test_nose.py::test_setup_func_not_callable PASSED >testing/test_nose.py::test_nose_setup_func PASSED >testing/test_nose.py::test_nose_setup_func_failure PASSED >testing/test_nose.py::test_nose_setup_func_failure_2 PASSED >testing/test_nose.py::test_nose_setup_partial PASSED >testing/test_nose.py::test_nose_test_generator_fixtures PASSED >testing/test_nose.py::test_module_level_setup PASSED >testing/test_nose.py::test_nose_style_setup_teardown PASSED >testing/test_nose.py::test_nose_setup_ordering PASSED >testing/test_nose.py::test_apiwrapper_problem_issue260 PASSED >testing/test_nose.py::test_setup_teardown_linking_issue265 PASSED >testing/test_nose.py::test_SkipTest_during_collection PASSED >testing/test_nose.py::test_SkipTest_in_test PASSED >testing/test_nose.py::test_istest_function_decorator PASSED >testing/test_nose.py::test_nottest_function_decorator PASSED >testing/test_nose.py::test_istest_class_decorator PASSED >testing/test_nose.py::test_nottest_class_decorator PASSED >testing/test_parseopt.py::TestParser::test_no_help_by_default PASSED >testing/test_parseopt.py::TestParser::test_argument PASSED >testing/test_parseopt.py::TestParser::test_argument_type PASSED >testing/test_parseopt.py::TestParser::test_argument_processopt PASSED >testing/test_parseopt.py::TestParser::test_group_add_and_get PASSED >testing/test_parseopt.py::TestParser::test_getgroup_simple PASSED >testing/test_parseopt.py::TestParser::test_group_ordering PASSED >testing/test_parseopt.py::TestParser::test_group_addoption PASSED >testing/test_parseopt.py::TestParser::test_group_addoption_conflict PASSED >testing/test_parseopt.py::TestParser::test_group_shortopt_lowercase PASSED >testing/test_parseopt.py::TestParser::test_parser_addoption PASSED >testing/test_parseopt.py::TestParser::test_parse PASSED >testing/test_parseopt.py::TestParser::test_parse2 PASSED >testing/test_parseopt.py::TestParser::test_parse_known_args PASSED >testing/test_parseopt.py::TestParser::test_parse_known_and_unknown_args PASSED >testing/test_parseopt.py::TestParser::test_parse_will_set_default PASSED >testing/test_parseopt.py::TestParser::test_parse_setoption PASSED >testing/test_parseopt.py::TestParser::test_parse_special_destination PASSED >testing/test_parseopt.py::TestParser::test_parse_split_positional_arguments PASSED >testing/test_parseopt.py::TestParser::test_parse_defaultgetter PASSED >testing/test_parseopt.py::TestParser::test_drop_short_helper PASSED >testing/test_parseopt.py::TestParser::test_drop_short_0 PASSED >testing/test_parseopt.py::TestParser::test_drop_short_2 PASSED >testing/test_parseopt.py::TestParser::test_drop_short_3 PASSED >testing/test_parseopt.py::TestParser::test_drop_short_help0 PASSED >testing/test_parseopt.py::TestParser::test_drop_short_help1 PASSED >testing/test_parseopt.py::TestParser::test_multiple_metavar_help PASSED >testing/test_parseopt.py::test_argcomplete SKIPPED >testing/test_pastebin.py::TestPasteCapture::test_failed PASSED >testing/test_pastebin.py::TestPasteCapture::test_all FAILED >testing/test_pastebin.py::TestPasteCapture::test_non_ascii_paste_text FAILED >testing/test_pastebin.py::TestPaste::test_create_new_paste PASSED >testing/test_pdb.py::TestPDB::test_pdb_on_fail PASSED >testing/test_pdb.py::TestPDB::test_pdb_on_xfail PASSED >testing/test_pdb.py::TestPDB::test_pdb_on_skip PASSED >testing/test_pdb.py::TestPDB::test_pdb_on_BdbQuit PASSED >testing/test_pdb.py::TestPDB::test_pdb_interaction SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_unittest_postmortem SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_interaction_capture SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_interaction_exception SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_interaction_on_collection_issue181 SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_interaction_on_internal_error SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_interaction_capturing_simple SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_set_trace_interception SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_and_capsys SKIPPED >testing/test_pdb.py::TestPDB::test_set_trace_capturing_afterwards SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_interaction_doctest SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_interaction_capturing_twice SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_used_outside_test SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_used_in_generate_tests SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_collection_failure_is_shown PASSED >testing/test_pdb.py::TestPDB::test_enter_pdb_hook_is_called SKIPPED >testing/test_pdb.py::TestPDB::test_pdb_custom_cls PASSED >testing/test_pluginmanager.py::TestPytestPluginInteractions::test_addhooks_conftestplugin PASSED >testing/test_pluginmanager.py::TestPytestPluginInteractions::test_addhooks_nohooks PASSED >testing/test_pluginmanager.py::TestPytestPluginInteractions::test_namespace_early_from_import PASSED >testing/test_pluginmanager.py::TestPytestPluginInteractions::test_do_ext_namespace PASSED >testing/test_pluginmanager.py::TestPytestPluginInteractions::test_do_option_postinitialize PASSED >testing/test_pluginmanager.py::TestPytestPluginInteractions::test_configure PASSED >testing/test_pluginmanager.py::TestPytestPluginInteractions::test_hook_tracing PASSED >testing/test_pluginmanager.py::TestPytestPluginInteractions::test_warn_on_deprecated_multicall PASSED >testing/test_pluginmanager.py::TestPytestPluginInteractions::test_warn_on_deprecated_addhooks PASSED >testing/test_pluginmanager.py::test_namespace_has_default_and_env_plugins PASSED >testing/test_pluginmanager.py::test_default_markers PASSED >testing/test_pluginmanager.py::test_importplugin_error_message PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_register_imported_modules PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_canonical_import PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_consider_module PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_consider_module_import_module PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_consider_env_fails_to_import PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_plugin_skip PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_consider_env_plugin_instantiation PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_pluginmanager_ENV_startup PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_import_plugin_importname PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_import_plugin_dotted_name PASSED >testing/test_pluginmanager.py::TestPytestPluginManager::test_consider_conftest_deps PASSED >testing/test_pluginmanager.py::TestPytestPluginManagerBootstrapming::test_preparse_args PASSED >testing/test_pluginmanager.py::TestPytestPluginManagerBootstrapming::test_plugin_prevent_register PASSED >testing/test_pluginmanager.py::TestPytestPluginManagerBootstrapming::test_plugin_prevent_register_unregistered_alredy_registered PASSED >testing/test_pytester.py::test_make_hook_recorder xfail >testing/test_pytester.py::test_parseconfig PASSED >testing/test_pytester.py::test_testdir_runs_with_plugin PASSED >testing/test_pytester.py::test_hookrecorder_basic[apiclass] PASSED >testing/test_pytester.py::test_hookrecorder_basic[holder1] PASSED >testing/test_pytester.py::test_makepyfile_unicode PASSED >testing/test_pytester.py::test_inline_run_clean_modules PASSED >testing/test_recwarn.py::test_recwarn_functional PASSED >testing/test_recwarn.py::TestWarningsRecorderChecker::test_recording PASSED >testing/test_recwarn.py::TestWarningsRecorderChecker::test_typechecking PASSED >testing/test_recwarn.py::TestWarningsRecorderChecker::test_invalid_enter_exit PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_call_raises PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_call PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_call_ret PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_call_preserves PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_explicit_call_raises PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_explicit_call PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_call_as_context_manager_no_warning PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_call_as_context_manager PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_call_pending PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_call_specificity PASSED >testing/test_recwarn.py::TestDeprecatedCall::test_deprecated_function_already_called FAILED >testing/test_recwarn.py::TestWarns::test_strings PASSED >testing/test_recwarn.py::TestWarns::test_function PASSED >testing/test_recwarn.py::TestWarns::test_warning_tuple PASSED >testing/test_recwarn.py::TestWarns::test_as_contextmanager PASSED >testing/test_recwarn.py::TestWarns::test_record PASSED >testing/test_recwarn.py::TestWarns::test_record_only PASSED >testing/test_recwarn.py::TestWarns::test_double_test FAILED >testing/test_resultlog.py::test_generic_path PASSED >testing/test_resultlog.py::test_write_log_entry PASSED >testing/test_resultlog.py::TestWithFunctionIntegration::test_collection_report PASSED >testing/test_resultlog.py::TestWithFunctionIntegration::test_log_test_outcomes PASSED >testing/test_resultlog.py::TestWithFunctionIntegration::test_internal_exception[native] PASSED >testing/test_resultlog.py::TestWithFunctionIntegration::test_internal_exception[long] PASSED >testing/test_resultlog.py::TestWithFunctionIntegration::test_internal_exception[short] PASSED >testing/test_resultlog.py::test_generic PASSED >testing/test_resultlog.py::test_makedir_for_resultlog PASSED >testing/test_resultlog.py::test_no_resultlog_on_slaves PASSED >testing/test_resultlog.py::test_failure_issue380 PASSED >testing/test_runner.py::TestSetupState::test_setup PASSED >testing/test_runner.py::TestSetupState::test_teardown_exact_stack_empty PASSED >testing/test_runner.py::TestSetupState::test_setup_fails_and_failure_is_cached PASSED >testing/test_runner.py::TestSetupState::test_teardown_multiple_one_fails PASSED >testing/test_runner.py::TestSetupState::test_teardown_multiple_fail PASSED >testing/test_runner.py::TestExecutionNonForked::test_passfunction PASSED >testing/test_runner.py::TestExecutionNonForked::test_failfunction PASSED >testing/test_runner.py::TestExecutionNonForked::test_skipfunction PASSED >testing/test_runner.py::TestExecutionNonForked::test_skip_in_setup_function PASSED >testing/test_runner.py::TestExecutionNonForked::test_failure_in_setup_function PASSED >testing/test_runner.py::TestExecutionNonForked::test_failure_in_teardown_function PASSED >testing/test_runner.py::TestExecutionNonForked::test_custom_failure_repr PASSED >testing/test_runner.py::TestExecutionNonForked::test_teardown_final_returncode PASSED >testing/test_runner.py::TestExecutionNonForked::test_exact_teardown_issue90 PASSED >testing/test_runner.py::TestExecutionNonForked::test_exact_teardown_issue1206 PASSED >testing/test_runner.py::TestExecutionNonForked::test_failure_in_setup_function_ignores_custom_repr PASSED >testing/test_runner.py::TestExecutionNonForked::test_systemexit_does_not_bail_out PASSED >testing/test_runner.py::TestExecutionNonForked::test_exit_propagates PASSED >testing/test_runner.py::TestExecutionNonForked::test_keyboardinterrupt_propagates PASSED >testing/test_runner.py::TestExecutionForked::test_passfunction PASSED >testing/test_runner.py::TestExecutionForked::test_failfunction PASSED >testing/test_runner.py::TestExecutionForked::test_skipfunction PASSED >testing/test_runner.py::TestExecutionForked::test_skip_in_setup_function PASSED >testing/test_runner.py::TestExecutionForked::test_failure_in_setup_function PASSED >testing/test_runner.py::TestExecutionForked::test_failure_in_teardown_function PASSED >testing/test_runner.py::TestExecutionForked::test_custom_failure_repr PASSED >testing/test_runner.py::TestExecutionForked::test_teardown_final_returncode PASSED >testing/test_runner.py::TestExecutionForked::test_exact_teardown_issue90 PASSED >testing/test_runner.py::TestExecutionForked::test_exact_teardown_issue1206 PASSED >testing/test_runner.py::TestExecutionForked::test_failure_in_setup_function_ignores_custom_repr PASSED >testing/test_runner.py::TestExecutionForked::test_systemexit_does_not_bail_out PASSED >testing/test_runner.py::TestExecutionForked::test_exit_propagates PASSED >testing/test_runner.py::TestExecutionForked::test_suicide PASSED >testing/test_runner.py::TestSessionReports::test_collect_result PASSED >testing/test_runner.py::test_report_extra_parameters[BaseReport] PASSED >testing/test_runner.py::test_report_extra_parameters[TestReport] PASSED >testing/test_runner.py::test_report_extra_parameters[TeardownErrorReport] PASSED >testing/test_runner.py::test_report_extra_parameters[CollectReport] PASSED >testing/test_runner.py::test_callinfo PASSED >testing/test_runner.py::test_runtest_in_module_ordering xfail >testing/test_runner.py::test_outcomeexception_exceptionattributes PASSED >testing/test_runner.py::test_pytest_exit PASSED >testing/test_runner.py::test_pytest_fail PASSED >testing/test_runner.py::test_pytest_exit_msg PASSED >testing/test_runner.py::test_pytest_fail_notrace PASSED >testing/test_runner.py::test_pytest_fail_notrace_non_ascii[u] PASSED >testing/test_runner.py::test_pytest_fail_notrace_non_ascii[] PASSED >testing/test_runner.py::test_pytest_no_tests_collected_exit_status PASSED >testing/test_runner.py::test_exception_printing_skip PASSED >testing/test_runner.py::test_importorskip PASSED >testing/test_runner.py::test_importorskip_imports_last_module_part PASSED >testing/test_runner.py::test_importorskip_dev_module PASSED >testing/test_runner.py::test_importorskip_module_level PASSED >testing/test_runner.py::test_pytest_cmdline_main PASSED >testing/test_runner.py::test_unicode_in_longrepr PASSED >testing/test_runner.py::test_failure_in_setup PASSED >testing/test_runner.py::test_makereport_getsource PASSED >testing/test_runner.py::test_makereport_getsource_dynamic_code PASSED >testing/test_runner.py::test_store_except_info_on_eror PASSED >testing/test_runner.py::TestReportContents::test_longreprtext_pass PASSED >testing/test_runner.py::TestReportContents::test_longreprtext_failure PASSED >testing/test_runner.py::TestReportContents::test_captured_text PASSED >testing/test_runner.py::TestReportContents::test_no_captured_text PASSED >testing/test_runner_xunit.py::test_module_and_function_setup PASSED >testing/test_runner_xunit.py::test_module_setup_failure_no_teardown PASSED >testing/test_runner_xunit.py::test_setup_function_failure_no_teardown PASSED >testing/test_runner_xunit.py::test_class_setup PASSED >testing/test_runner_xunit.py::test_class_setup_failure_no_teardown PASSED >testing/test_runner_xunit.py::test_method_setup PASSED >testing/test_runner_xunit.py::test_method_setup_failure_no_teardown PASSED >testing/test_runner_xunit.py::test_method_generator_setup PASSED >testing/test_runner_xunit.py::test_func_generator_setup PASSED >testing/test_runner_xunit.py::test_method_setup_uses_fresh_instances PASSED >testing/test_runner_xunit.py::test_setup_that_skips_calledagain PASSED >testing/test_runner_xunit.py::test_setup_fails_again_on_all_tests PASSED >testing/test_runner_xunit.py::test_setup_funcarg_setup_when_outer_scope_fails PASSED >testing/test_runner_xunit.py::test_setup_teardown_function_level_with_optional_argument[] PASSED >testing/test_runner_xunit.py::test_setup_teardown_function_level_with_optional_argument[arg] PASSED >testing/test_session.py::TestNewSession::test_basic_testitem_events PASSED >testing/test_session.py::TestNewSession::test_nested_import_error PASSED >testing/test_session.py::TestNewSession::test_raises_output PASSED >testing/test_session.py::TestNewSession::test_generator_yields_None PASSED >testing/test_session.py::TestNewSession::test_syntax_error_module PASSED >testing/test_session.py::TestNewSession::test_exit_first_problem PASSED >testing/test_session.py::TestNewSession::test_maxfail PASSED >testing/test_session.py::TestNewSession::test_broken_repr PASSED >testing/test_session.py::TestNewSession::test_skip_file_by_conftest PASSED >testing/test_session.py::TestNewSession::test_order_of_execution PASSED >testing/test_session.py::TestNewSession::test_collect_only_with_various_situations PASSED >testing/test_session.py::TestNewSession::test_minus_x_import_error PASSED >testing/test_session.py::TestNewSession::test_minus_x_overriden_by_maxfail PASSED >testing/test_session.py::test_plugin_specify PASSED >testing/test_session.py::test_plugin_already_exists PASSED >testing/test_session.py::test_exclude PASSED >testing/test_session.py::test_sessionfinish_with_start PASSED >testing/test_skipping.py::TestEvaluator::test_no_marker PASSED >testing/test_skipping.py::TestEvaluator::test_marked_no_args PASSED >testing/test_skipping.py::TestEvaluator::test_marked_one_arg PASSED >testing/test_skipping.py::TestEvaluator::test_marked_one_arg_unicode PASSED >testing/test_skipping.py::TestEvaluator::test_marked_one_arg_with_reason PASSED >testing/test_skipping.py::TestEvaluator::test_marked_one_arg_twice PASSED >testing/test_skipping.py::TestEvaluator::test_marked_one_arg_twice2 PASSED >testing/test_skipping.py::TestEvaluator::test_marked_skip_with_not_string PASSED >testing/test_skipping.py::TestEvaluator::test_skipif_class PASSED >testing/test_skipping.py::TestXFail::test_xfail_simple[True] PASSED >testing/test_skipping.py::TestXFail::test_xfail_simple[False] PASSED >testing/test_skipping.py::TestXFail::test_xfail_xpassed PASSED >testing/test_skipping.py::TestXFail::test_xfail_xpassed_strict PASSED >testing/test_skipping.py::TestXFail::test_xfail_run_anyway PASSED >testing/test_skipping.py::TestXFail::test_xfail_evalfalse_but_fails PASSED >testing/test_skipping.py::TestXFail::test_xfail_not_report_default PASSED >testing/test_skipping.py::TestXFail::test_xfail_not_run_xfail_reporting PASSED >testing/test_skipping.py::TestXFail::test_xfail_not_run_no_setup_run PASSED >testing/test_skipping.py::TestXFail::test_xfail_xpass PASSED >testing/test_skipping.py::TestXFail::test_xfail_imperative PASSED >testing/test_skipping.py::TestXFail::test_xfail_imperative_in_setup_function PASSED >testing/test_skipping.py::TestXFail::test_dynamic_xfail_no_run PASSED >testing/test_skipping.py::TestXFail::test_dynamic_xfail_set_during_funcarg_setup PASSED >testing/test_skipping.py::TestXFail::test_xfail_raises[TypeError-TypeError-*1 xfailed*] PASSED >testing/test_skipping.py::TestXFail::test_xfail_raises[(AttributeError, TypeError)-TypeError-*1 xfailed*] PASSED >testing/test_skipping.py::TestXFail::test_xfail_raises[TypeError-IndexError-*1 failed*] PASSED >testing/test_skipping.py::TestXFail::test_xfail_raises[(AttributeError, TypeError)-IndexError-*1 failed*] PASSED >testing/test_skipping.py::TestXFail::test_strict_sanity PASSED >testing/test_skipping.py::TestXFail::test_strict_xfail[True] PASSED >testing/test_skipping.py::TestXFail::test_strict_xfail[False] PASSED >testing/test_skipping.py::TestXFail::test_strict_xfail_condition[True] PASSED >testing/test_skipping.py::TestXFail::test_strict_xfail_condition[False] PASSED >testing/test_skipping.py::TestXFail::test_xfail_condition_keyword[True] PASSED >testing/test_skipping.py::TestXFail::test_xfail_condition_keyword[False] PASSED >testing/test_skipping.py::TestXFail::test_strict_xfail_default_from_file[true] PASSED >testing/test_skipping.py::TestXFail::test_strict_xfail_default_from_file[false] PASSED >testing/test_skipping.py::TestXFailwithSetupTeardown::test_failing_setup_issue9 PASSED >testing/test_skipping.py::TestXFailwithSetupTeardown::test_failing_teardown_issue9 PASSED >testing/test_skipping.py::TestSkip::test_skip_class PASSED >testing/test_skipping.py::TestSkip::test_skips_on_false_string PASSED >testing/test_skipping.py::TestSkip::test_arg_as_reason PASSED >testing/test_skipping.py::TestSkip::test_skip_no_reason PASSED >testing/test_skipping.py::TestSkip::test_skip_with_reason PASSED >testing/test_skipping.py::TestSkip::test_only_skips_marked_test PASSED >testing/test_skipping.py::TestSkip::test_strict_and_skip PASSED >testing/test_skipping.py::TestSkipif::test_skipif_conditional PASSED >testing/test_skipping.py::TestSkipif::test_skipif_reporting["hasattr(sys, 'platform')"] PASSED >testing/test_skipping.py::TestSkipif::test_skipif_reporting[True, reason="invalid platform"] PASSED >testing/test_skipping.py::TestSkipif::test_skipif_reporting_multiple[skipif-SKIP-skipped] PASSED >testing/test_skipping.py::TestSkipif::test_skipif_reporting_multiple[xfail-XPASS-xpassed] PASSED >testing/test_skipping.py::test_skip_not_report_default PASSED >testing/test_skipping.py::test_skipif_class PASSED >testing/test_skipping.py::test_skip_reasons_folding PASSED >testing/test_skipping.py::test_skipped_reasons_functional PASSED >testing/test_skipping.py::test_reportchars PASSED >testing/test_skipping.py::test_reportchars_error PASSED >testing/test_skipping.py::test_reportchars_all PASSED >testing/test_skipping.py::test_reportchars_all_error PASSED >testing/test_skipping.py::test_errors_in_xfail_skip_expressions PASSED >testing/test_skipping.py::test_xfail_skipif_with_globals PASSED >testing/test_skipping.py::test_direct_gives_error PASSED >testing/test_skipping.py::test_default_markers PASSED >testing/test_skipping.py::test_xfail_test_setup_exception PASSED >testing/test_skipping.py::test_imperativeskip_on_xfail_test PASSED >testing/test_skipping.py::TestBooleanCondition::test_skipif PASSED >testing/test_skipping.py::TestBooleanCondition::test_skipif_noreason PASSED >testing/test_skipping.py::TestBooleanCondition::test_xfail PASSED >testing/test_skipping.py::test_xfail_item PASSED >testing/test_skipping.py::test_module_level_skip_error PASSED >testing/test_terminal.py::test_plugin_nameversion[normal] PASSED >testing/test_terminal.py::test_plugin_nameversion[prefix-strip] PASSED >testing/test_terminal.py::test_plugin_nameversion[deduplicate] PASSED >testing/test_terminal.py::TestTerminal::test_pass_skip_fail[default] PASSED >testing/test_terminal.py::TestTerminal::test_pass_skip_fail[verbose] PASSED >testing/test_terminal.py::TestTerminal::test_pass_skip_fail[quiet] PASSED >testing/test_terminal.py::TestTerminal::test_pass_skip_fail[fulltrace] PASSED >testing/test_terminal.py::TestTerminal::test_internalerror PASSED >testing/test_terminal.py::TestTerminal::test_writeline PASSED >testing/test_terminal.py::TestTerminal::test_show_runtest_logstart PASSED >testing/test_terminal.py::TestTerminal::test_runtest_location_shown_before_test_starts SKIPPED >testing/test_terminal.py::TestTerminal::test_itemreport_subclasses_show_subclassed_file PASSED >testing/test_terminal.py::TestTerminal::test_itemreport_directclasses_not_shown_as_subclasses PASSED >testing/test_terminal.py::TestTerminal::test_keyboard_interrupt[default] PASSED >testing/test_terminal.py::TestTerminal::test_keyboard_interrupt[verbose] PASSED >testing/test_terminal.py::TestTerminal::test_keyboard_interrupt[quiet] PASSED >testing/test_terminal.py::TestTerminal::test_keyboard_interrupt[fulltrace] PASSED >testing/test_terminal.py::TestTerminal::test_keyboard_in_sessionstart PASSED >testing/test_terminal.py::TestCollectonly::test_collectonly_basic PASSED >testing/test_terminal.py::TestCollectonly::test_collectonly_skipped_module PASSED >testing/test_terminal.py::TestCollectonly::test_collectonly_failed_module PASSED >testing/test_terminal.py::TestCollectonly::test_collectonly_fatal PASSED >testing/test_terminal.py::TestCollectonly::test_collectonly_simple PASSED >testing/test_terminal.py::TestCollectonly::test_collectonly_error PASSED >testing/test_terminal.py::TestCollectonly::test_collectonly_missing_path PASSED >testing/test_terminal.py::TestCollectonly::test_collectonly_quiet PASSED >testing/test_terminal.py::TestCollectonly::test_collectonly_more_quiet PASSED >testing/test_terminal.py::test_repr_python_version PASSED >testing/test_terminal.py::TestFixtureReporting::test_setup_fixture_error PASSED >testing/test_terminal.py::TestFixtureReporting::test_teardown_fixture_error PASSED >testing/test_terminal.py::TestFixtureReporting::test_teardown_fixture_error_and_test_failure PASSED >testing/test_terminal.py::TestFixtureReporting::test_setup_teardown_output_and_test_failure PASSED >testing/test_terminal.py::TestTerminalFunctional::test_deselected PASSED >testing/test_terminal.py::TestTerminalFunctional::test_no_skip_summary_if_failure PASSED >testing/test_terminal.py::TestTerminalFunctional::test_passes PASSED >testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info PASSED >testing/test_terminal.py::TestTerminalFunctional::test_showlocals PASSED >testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting PASSED >testing/test_terminal.py::TestTerminalFunctional::test_quiet_reporting FAILED >testing/test_terminal.py::TestTerminalFunctional::test_more_quiet_reporting FAILED >testing/test_terminal.py::test_fail_extra_reporting PASSED >testing/test_terminal.py::test_fail_reporting_on_pass PASSED >testing/test_terminal.py::test_pass_extra_reporting PASSED >testing/test_terminal.py::test_pass_reporting_on_fail PASSED >testing/test_terminal.py::test_pass_output_reporting PASSED >testing/test_terminal.py::test_color_yes PASSED >testing/test_terminal.py::test_color_no PASSED >testing/test_terminal.py::test_color_yes_collection_on_non_atty[True] PASSED >testing/test_terminal.py::test_color_yes_collection_on_non_atty[False] PASSED >testing/test_terminal.py::test_getreportopt PASSED >testing/test_terminal.py::test_terminalreporter_reportopt_addopts PASSED >testing/test_terminal.py::test_tbstyle_short PASSED >testing/test_terminal.py::test_traceconfig PASSED >testing/test_terminal.py::TestGenericReporting::test_collect_fail[default] PASSED >testing/test_terminal.py::TestGenericReporting::test_collect_fail[verbose] PASSED >testing/test_terminal.py::TestGenericReporting::test_collect_fail[quiet] PASSED >testing/test_terminal.py::TestGenericReporting::test_collect_fail[fulltrace] PASSED >testing/test_terminal.py::TestGenericReporting::test_maxfailures[default] PASSED >testing/test_terminal.py::TestGenericReporting::test_maxfailures[verbose] PASSED >testing/test_terminal.py::TestGenericReporting::test_maxfailures[quiet] PASSED >testing/test_terminal.py::TestGenericReporting::test_maxfailures[fulltrace] PASSED >testing/test_terminal.py::TestGenericReporting::test_tb_option[default] PASSED >testing/test_terminal.py::TestGenericReporting::test_tb_option[verbose] PASSED >testing/test_terminal.py::TestGenericReporting::test_tb_option[quiet] PASSED >testing/test_terminal.py::TestGenericReporting::test_tb_option[fulltrace] PASSED >testing/test_terminal.py::TestGenericReporting::test_tb_crashline[default] PASSED >testing/test_terminal.py::TestGenericReporting::test_tb_crashline[verbose] PASSED >testing/test_terminal.py::TestGenericReporting::test_tb_crashline[quiet] PASSED >testing/test_terminal.py::TestGenericReporting::test_tb_crashline[fulltrace] PASSED >testing/test_terminal.py::TestGenericReporting::test_pytest_report_header[default] PASSED >testing/test_terminal.py::TestGenericReporting::test_pytest_report_header[verbose] PASSED >testing/test_terminal.py::TestGenericReporting::test_pytest_report_header[quiet] PASSED >testing/test_terminal.py::TestGenericReporting::test_pytest_report_header[fulltrace] PASSED >testing/test_terminal.py::test_fdopen_kept_alive_issue124 PASSED >testing/test_terminal.py::test_tbstyle_native_setup_error PASSED >testing/test_terminal.py::test_terminal_summary PASSED >testing/test_terminal.py::test_terminal_summary_warnings_are_displayed FAILED >testing/test_terminal.py::test_summary_stats[red-1 failed-stats_arg0] PASSED >testing/test_terminal.py::test_summary_stats[red-1 failed, 1 passed-stats_arg1] PASSED >testing/test_terminal.py::test_summary_stats[red-1 error-stats_arg2] PASSED >testing/test_terminal.py::test_summary_stats[red-1 passed, 1 error-stats_arg3] PASSED >testing/test_terminal.py::test_summary_stats[yellow-1 weird-stats_arg4] PASSED >testing/test_terminal.py::test_summary_stats[yellow-1 passed, 1 weird-stats_arg5] PASSED >testing/test_terminal.py::test_summary_stats[yellow-1 pytest-warnings-stats_arg6] PASSED >testing/test_terminal.py::test_summary_stats[yellow-1 passed, 1 pytest-warnings-stats_arg7] PASSED >testing/test_terminal.py::test_summary_stats[green-5 passed-stats_arg8] PASSED >testing/test_terminal.py::test_summary_stats[yellow-1 skipped-stats_arg9] PASSED >testing/test_terminal.py::test_summary_stats[green-1 passed, 1 skipped-stats_arg10] PASSED >testing/test_terminal.py::test_summary_stats[yellow-1 deselected-stats_arg11] PASSED >testing/test_terminal.py::test_summary_stats[green-1 passed, 1 deselected-stats_arg12] PASSED >testing/test_terminal.py::test_summary_stats[yellow-1 xfailed-stats_arg13] PASSED >testing/test_terminal.py::test_summary_stats[green-1 passed, 1 xfailed-stats_arg14] PASSED >testing/test_terminal.py::test_summary_stats[yellow-1 xpassed-stats_arg15] PASSED >testing/test_terminal.py::test_summary_stats[green-1 passed, 1 xpassed-stats_arg16] PASSED >testing/test_terminal.py::test_summary_stats[yellow-no tests ran-stats_arg17] PASSED >testing/test_terminal.py::test_summary_stats[yellow-no tests ran-stats_arg18] PASSED >testing/test_terminal.py::test_summary_stats[green-1 passed-stats_arg19] PASSED >testing/test_terminal.py::test_summary_stats[red-1 failed, 2 passed, 3 xfailed-stats_arg20] PASSED >testing/test_terminal.py::test_summary_stats[green-1 passed, 2 skipped, 3 deselected, 2 xfailed-stats_arg21] PASSED >testing/test_tmpdir.py::test_funcarg PASSED >testing/test_tmpdir.py::test_ensuretemp PASSED >testing/test_tmpdir.py::TestTempdirHandler::test_mktemp PASSED >testing/test_tmpdir.py::TestConfigTmpdir::test_getbasetemp_custom_removes_old PASSED >testing/test_tmpdir.py::test_basetemp PASSED >testing/test_tmpdir.py::test_tmpdir_always_is_realpath PASSED >testing/test_tmpdir.py::test_tmpdir_too_long_on_parametrization PASSED >testing/test_tmpdir.py::test_tmpdir_factory PASSED >testing/test_tmpdir.py::test_tmpdir_fallback_tox_env PASSED >testing/test_tmpdir.py::test_tmpdir_fallback_uid_not_found PASSED >testing/test_tmpdir.py::test_get_user_uid_not_found PASSED >testing/test_tmpdir.py::test_get_user SKIPPED >testing/test_unittest.py::test_simple_unittest PASSED >testing/test_unittest.py::test_runTest_method PASSED >testing/test_unittest.py::test_isclasscheck_issue53 PASSED >testing/test_unittest.py::test_setup PASSED >testing/test_unittest.py::test_setUpModule PASSED >testing/test_unittest.py::test_setUpModule_failing_no_teardown PASSED >testing/test_unittest.py::test_new_instances PASSED >testing/test_unittest.py::test_teardown PASSED >testing/test_unittest.py::test_teardown_issue1649 PASSED >testing/test_unittest.py::test_unittest_skip_issue148 PASSED >testing/test_unittest.py::test_method_and_teardown_failing_reporting PASSED >testing/test_unittest.py::test_setup_failure_is_shown PASSED >testing/test_unittest.py::test_setup_setUpClass PASSED >testing/test_unittest.py::test_setup_class PASSED >testing/test_unittest.py::test_testcase_adderrorandfailure_defers[Error] PASSED >testing/test_unittest.py::test_testcase_adderrorandfailure_defers[Failure] PASSED >testing/test_unittest.py::test_testcase_custom_exception_info[Error] PASSED >testing/test_unittest.py::test_testcase_custom_exception_info[Failure] PASSED >testing/test_unittest.py::test_testcase_totally_incompatible_exception_info PASSED >testing/test_unittest.py::test_module_level_pytestmark PASSED >testing/test_unittest.py::test_trial_testcase_skip_property SKIPPED >testing/test_unittest.py::test_trial_testfunction_skip_property SKIPPED >testing/test_unittest.py::test_trial_testcase_todo_property SKIPPED >testing/test_unittest.py::test_trial_testfunction_todo_property SKIPPED >testing/test_unittest.py::TestTrialUnittest::test_trial_testcase_runtest_not_collected SKIPPED >testing/test_unittest.py::TestTrialUnittest::test_trial_exceptions_with_skips SKIPPED >testing/test_unittest.py::TestTrialUnittest::test_trial_error SKIPPED >testing/test_unittest.py::TestTrialUnittest::test_trial_pdb SKIPPED >testing/test_unittest.py::test_djangolike_testcase PASSED >testing/test_unittest.py::test_unittest_not_shown_in_traceback PASSED >testing/test_unittest.py::test_unorderable_types PASSED >testing/test_unittest.py::test_unittest_typerror_traceback PASSED >testing/test_unittest.py::test_unittest_expected_failure_for_failing_test_is_xfail[pytest] PASSED >testing/test_unittest.py::test_unittest_expected_failure_for_failing_test_is_xfail[unittest] PASSED >testing/test_unittest.py::test_unittest_expected_failure_for_passing_test_is_fail[pytest] PASSED >testing/test_unittest.py::test_unittest_expected_failure_for_passing_test_is_fail[unittest] PASSED >testing/test_unittest.py::test_unittest_setup_interaction[fixture-return] PASSED >testing/test_unittest.py::test_unittest_setup_interaction[yield_fixture-yield] PASSED >testing/test_unittest.py::test_non_unittest_no_setupclass_support PASSED >testing/test_unittest.py::test_no_teardown_if_setupclass_failed PASSED >testing/test_unittest.py::test_issue333_result_clearing PASSED >testing/test_unittest.py::test_unittest_raise_skip_issue748 PASSED >testing/test_unittest.py::test_unittest_skip_issue1169 PASSED >testing/test_unittest.py::test_class_method_containing_test_issue1558 PASSED >testing/code/test_code.py::test_ne PASSED >testing/code/test_code.py::test_code_gives_back_name_for_not_existing_file PASSED >testing/code/test_code.py::test_code_with_class PASSED >testing/code/test_code.py::test_code_fullsource PASSED >testing/code/test_code.py::test_code_source PASSED >testing/code/test_code.py::test_frame_getsourcelineno_myself PASSED >testing/code/test_code.py::test_getstatement_empty_fullsource PASSED >testing/code/test_code.py::test_code_from_func PASSED >testing/code/test_code.py::test_unicode_handling PASSED >testing/code/test_code.py::test_unicode_handling_syntax_error PASSED >testing/code/test_code.py::test_code_getargs PASSED >testing/code/test_code.py::test_frame_getargs PASSED >testing/code/test_code.py::TestExceptionInfo::test_bad_getsource PASSED >testing/code/test_code.py::TestTracebackEntry::test_getsource PASSED >testing/code/test_excinfo.py::test_excinfo_simple PASSED >testing/code/test_excinfo.py::test_excinfo_getstatement PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_entries PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_entry_getsource PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_entry_getsource_in_construct PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_cut PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_cut_excludepath PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_filter PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_filter_selective[tracebackhide0-True] PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_filter_selective[tracebackhide1-False] PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_filter_selective[tracebackhide2-True] PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_filter_selective[tracebackhide3-False] PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_recursion_index PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_only_specific_recursion_errors PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_no_recursion_index PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_messy_recursion SKIPPED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_getcrashentry PASSED >testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_getcrashentry_empty PASSED >testing/code/test_excinfo.py::test_excinfo_exconly PASSED >testing/code/test_excinfo.py::test_excinfo_repr PASSED >testing/code/test_excinfo.py::test_excinfo_str PASSED >testing/code/test_excinfo.py::test_excinfo_errisinstance PASSED >testing/code/test_excinfo.py::test_excinfo_no_sourcecode PASSED >testing/code/test_excinfo.py::test_excinfo_no_python_sourcecode SKIPPED >testing/code/test_excinfo.py::test_entrysource_Queue_example PASSED >testing/code/test_excinfo.py::test_codepath_Queue_example PASSED >testing/code/test_excinfo.py::test_match_succeeds PASSED >testing/code/test_excinfo.py::test_match_raises_error PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_source PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_source_excinfo PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_source_not_existing PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_many_line_source_not_existing PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_source_failing_fullsource PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_local PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_tracebackentry_lines PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_tracebackentry_lines2 PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_tracebackentry_lines_var_kw_args PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_tracebackentry_short PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_tracebackentry_no PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_traceback_tbfilter PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_traceback_short_no_source PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_traceback_and_excinfo PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_traceback_with_invalid_cwd PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_excinfo_addouterr PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_excinfo_reprcrash PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_traceback_recursion PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_reprexcinfo_getrepr PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_reprexcinfo_unicode PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_toterminal_long PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_toterminal_long_missing_source PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_toterminal_long_incomplete_source PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_toterminal_long_filenames PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions0] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions1] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions2] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions3] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions4] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions5] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions6] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions7] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions8] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions9] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions10] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions11] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions12] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions13] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions14] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions15] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions16] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions17] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions18] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions19] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions20] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions21] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions22] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_format_excinfo[reproptions23] PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_traceback_repr_style PASSED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_exc_chain_repr SKIPPED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_exc_chain_repr_without_traceback[cause-The above exception was the direct cause of the following exception:] SKIPPED >testing/code/test_excinfo.py::TestFormattedExcinfo::test_exc_chain_repr_without_traceback[context-During handling of the above exception, another exception occurred:] SKIPPED >testing/code/test_excinfo.py::test_repr_traceback_with_unicode[None-short] PASSED >testing/code/test_excinfo.py::test_repr_traceback_with_unicode[None-long] PASSED >testing/code/test_excinfo.py::test_repr_traceback_with_unicode[utf8-short] PASSED >testing/code/test_excinfo.py::test_repr_traceback_with_unicode[utf8-long] PASSED >testing/code/test_excinfo.py::test_repr_traceback_with_unicode[utf16-short] PASSED >testing/code/test_excinfo.py::test_repr_traceback_with_unicode[utf16-long] PASSED >testing/code/test_excinfo.py::test_cwd_deleted FAILED >testing/code/test_source.py::test_source_str_function PASSED >testing/code/test_source.py::test_unicode PASSED >testing/code/test_source.py::test_source_from_function PASSED >testing/code/test_source.py::test_source_from_method PASSED >testing/code/test_source.py::test_source_from_lines PASSED >testing/code/test_source.py::test_source_from_inner_function PASSED >testing/code/test_source.py::test_source_putaround_simple PASSED >testing/code/test_source.py::test_source_putaround PASSED >testing/code/test_source.py::test_source_strips PASSED >testing/code/test_source.py::test_source_strip_multiline PASSED >testing/code/test_source.py::test_syntaxerror_rerepresentation PASSED >testing/code/test_source.py::test_isparseable PASSED >testing/code/test_source.py::TestAccesses::test_getrange PASSED >testing/code/test_source.py::TestAccesses::test_getline PASSED >testing/code/test_source.py::TestAccesses::test_len PASSED >testing/code/test_source.py::TestAccesses::test_iter PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_compile PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_compile_and_getsource_simple PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_compile_and_getsource_through_same_function PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_getstatement PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_getstatementrange_triple_quoted PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_getstatementrange_within_constructs PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_getstatementrange_bug PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_getstatementrange_bug2 PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_getstatementrange_ast_issue58 PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_getstatementrange_out_of_bounds_py3 PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_getstatementrange_with_syntaxerror_issue7 PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_compile_to_ast PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_compile_and_getsource PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_compilefuncs_and_path_sanity[] PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_compilefuncs_and_path_sanity[None] PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_compilefuncs_and_path_sanity[my] PASSED >testing/code/test_source.py::TestSourceParsingAndCompiling::test_offsetless_synerr PASSED >testing/code/test_source.py::test_getstartingblock_singleline PASSED >testing/code/test_source.py::test_getstartingblock_multiline PASSED >testing/code/test_source.py::test_getline_finally PASSED >testing/code/test_source.py::test_getfuncsource_dynamic PASSED >testing/code/test_source.py::test_getfuncsource_with_multine_string PASSED >testing/code/test_source.py::test_deindent PASSED >testing/code/test_source.py::test_source_of_class_at_eof_without_newline PASSED >testing/code/test_source.py::test_getsource_fallback PASSED >testing/code/test_source.py::test_idem_compile_and_getsource PASSED >testing/code/test_source.py::test_findsource_fallback PASSED >testing/code/test_source.py::test_findsource PASSED >testing/code/test_source.py::test_getfslineno PASSED >testing/code/test_source.py::test_code_of_object_instance_with_call PASSED >testing/code/test_source.py::test_oneline PASSED >testing/code/test_source.py::test_comment_and_no_newline_at_end PASSED >testing/code/test_source.py::test_oneline_and_comment PASSED >testing/code/test_source.py::test_comments PASSED >testing/code/test_source.py::test_comment_in_statement PASSED >testing/code/test_source.py::test_single_line_else PASSED >testing/code/test_source.py::test_single_line_finally PASSED >testing/code/test_source.py::test_issue55 PASSED >testing/code/test_source.py::TestTry::test_body PASSED >testing/code/test_source.py::TestTry::test_except_line PASSED >testing/code/test_source.py::TestTry::test_except_body PASSED >testing/code/test_source.py::TestTry::test_else PASSED >testing/code/test_source.py::TestTryFinally::test_body PASSED >testing/code/test_source.py::TestTryFinally::test_finally PASSED >testing/code/test_source.py::TestIf::test_body PASSED >testing/code/test_source.py::TestIf::test_elif_clause PASSED >testing/code/test_source.py::TestIf::test_elif PASSED >testing/code/test_source.py::TestIf::test_else PASSED >testing/code/test_source.py::test_semicolon PASSED >testing/code/test_source.py::test_def_online PASSED >testing/freeze/tests/test_doctest.txt::test_doctest.txt PASSED >testing/freeze/tests/test_trivial.py::test_upper PASSED >testing/freeze/tests/test_trivial.py::test_lower PASSED >testing/python/approx.py::TestApprox::test_repr_string PASSED >testing/python/approx.py::TestApprox::test_operator_overloading PASSED >testing/python/approx.py::TestApprox::test_exactly_equal PASSED >testing/python/approx.py::TestApprox::test_opposite_sign PASSED >testing/python/approx.py::TestApprox::test_zero_tolerance PASSED >testing/python/approx.py::TestApprox::test_negative_tolerance PASSED >testing/python/approx.py::TestApprox::test_inf_tolerance PASSED >testing/python/approx.py::TestApprox::test_inf_tolerance_expecting_zero PASSED >testing/python/approx.py::TestApprox::test_nan_tolerance PASSED >testing/python/approx.py::TestApprox::test_reasonable_defaults PASSED >testing/python/approx.py::TestApprox::test_default_tolerances PASSED >testing/python/approx.py::TestApprox::test_custom_tolerances PASSED >testing/python/approx.py::TestApprox::test_relative_tolerance PASSED >testing/python/approx.py::TestApprox::test_absolute_tolerance PASSED >testing/python/approx.py::TestApprox::test_expecting_zero PASSED >testing/python/approx.py::TestApprox::test_expecting_inf PASSED >testing/python/approx.py::TestApprox::test_expecting_nan PASSED >testing/python/approx.py::TestApprox::test_expecting_sequence PASSED >testing/python/approx.py::TestApprox::test_expecting_sequence_wrong_len PASSED >testing/python/approx.py::TestApprox::test_complex PASSED >testing/python/approx.py::TestApprox::test_int PASSED >testing/python/approx.py::TestApprox::test_decimal PASSED >testing/python/approx.py::TestApprox::test_fraction PASSED >testing/python/approx.py::TestApprox::test_doctests PASSED >testing/python/collect.py::TestModule::test_failing_import PASSED >testing/python/collect.py::TestModule::test_import_duplicate PASSED >testing/python/collect.py::TestModule::test_import_prepend_append PASSED >testing/python/collect.py::TestModule::test_syntax_error_in_module PASSED >testing/python/collect.py::TestModule::test_module_considers_pluginmanager_at_import PASSED >testing/python/collect.py::TestModule::test_invalid_test_module_name PASSED >testing/python/collect.py::TestModule::test_show_traceback_import_error[0] PASSED >testing/python/collect.py::TestModule::test_show_traceback_import_error[1] PASSED >testing/python/collect.py::TestModule::test_show_traceback_import_error[2] PASSED >testing/python/collect.py::TestClass::test_class_with_init_warning PASSED >testing/python/collect.py::TestClass::test_class_subclassobject PASSED >testing/python/collect.py::TestClass::test_setup_teardown_class_as_classmethod PASSED >testing/python/collect.py::TestClass::test_issue1035_obj_has_getattr PASSED >testing/python/collect.py::TestClass::test_issue1579_namedtuple PASSED >testing/python/collect.py::TestGenerator::test_generative_functions PASSED >testing/python/collect.py::TestGenerator::test_generative_methods PASSED >testing/python/collect.py::TestGenerator::test_generative_functions_with_explicit_names PASSED >testing/python/collect.py::TestGenerator::test_generative_functions_unique_explicit_names PASSED >testing/python/collect.py::TestGenerator::test_generative_methods_with_explicit_names PASSED >testing/python/collect.py::TestGenerator::test_order_of_execution_generator_same_codeline PASSED >testing/python/collect.py::TestGenerator::test_order_of_execution_generator_different_codeline PASSED >testing/python/collect.py::TestGenerator::test_setupstate_is_preserved_134 PASSED >testing/python/collect.py::TestFunction::test_getmodulecollector PASSED >testing/python/collect.py::TestFunction::test_function_as_object_instance_ignored PASSED >testing/python/collect.py::TestFunction::test_function_equality PASSED >testing/python/collect.py::TestFunction::test_issue197_parametrize_emptyset PASSED >testing/python/collect.py::TestFunction::test_single_tuple_unwraps_values PASSED >testing/python/collect.py::TestFunction::test_issue213_parametrize_value_no_equal PASSED >testing/python/collect.py::TestFunction::test_parametrize_with_non_hashable_values PASSED >testing/python/collect.py::TestFunction::test_parametrize_with_non_hashable_values_indirect PASSED >testing/python/collect.py::TestFunction::test_parametrize_overrides_fixture PASSED >testing/python/collect.py::TestFunction::test_parametrize_overrides_parametrized_fixture PASSED >testing/python/collect.py::TestFunction::test_parametrize_with_mark PASSED >testing/python/collect.py::TestFunction::test_function_equality_with_callspec PASSED >testing/python/collect.py::TestFunction::test_pyfunc_call PASSED >testing/python/collect.py::TestFunction::test_multiple_parametrize PASSED >testing/python/collect.py::TestFunction::test_issue751_multiple_parametrize_with_ids PASSED >testing/python/collect.py::TestFunction::test_parametrize_skipif FAILED >testing/python/collect.py::TestFunction::test_parametrize_skip FAILED >testing/python/collect.py::TestFunction::test_parametrize_skipif_no_skip FAILED >testing/python/collect.py::TestFunction::test_parametrize_xfail FAILED >testing/python/collect.py::TestFunction::test_parametrize_passed FAILED >testing/python/collect.py::TestFunction::test_parametrize_xfail_passed FAILED >testing/python/collect.py::TestFunction::test_function_original_name PASSED >testing/python/collect.py::TestSorting::test_check_equality PASSED >testing/python/collect.py::TestSorting::test_allow_sane_sorting_for_decorators PASSED >testing/python/collect.py::TestConftestCustomization::test_pytest_pycollect_module PASSED >testing/python/collect.py::TestConftestCustomization::test_customized_pymakemodule_issue205_subdir PASSED >testing/python/collect.py::TestConftestCustomization::test_customized_pymakeitem PASSED >testing/python/collect.py::TestConftestCustomization::test_pytest_pycollect_makeitem PASSED >testing/python/collect.py::TestConftestCustomization::test_makeitem_non_underscore PASSED >testing/python/collect.py::test_setup_only_available_in_subdir PASSED >testing/python/collect.py::test_modulecol_roundtrip PASSED >testing/python/collect.py::TestTracebackCutting::test_skip_simple PASSED >testing/python/collect.py::TestTracebackCutting::test_traceback_argsetup PASSED >testing/python/collect.py::TestTracebackCutting::test_traceback_error_during_import PASSED >testing/python/collect.py::TestTracebackCutting::test_traceback_filter_error_during_fixture_collection PASSED >testing/python/collect.py::TestTracebackCutting::test_filter_traceback_generated_code PASSED >testing/python/collect.py::TestTracebackCutting::test_filter_traceback_path_no_longer_valid PASSED >testing/python/collect.py::TestReportInfo::test_itemreport_reportinfo PASSED >testing/python/collect.py::TestReportInfo::test_func_reportinfo PASSED >testing/python/collect.py::TestReportInfo::test_class_reportinfo PASSED >testing/python/collect.py::TestReportInfo::test_generator_reportinfo PASSED >testing/python/collect.py::TestReportInfo::test_reportinfo_with_nasty_getattr PASSED >testing/python/collect.py::test_customized_python_discovery PASSED >testing/python/collect.py::test_customized_python_discovery_functions PASSED >testing/python/collect.py::test_collector_attributes PASSED >testing/python/collect.py::test_customize_through_attributes PASSED >testing/python/collect.py::test_unorderable_types PASSED >testing/python/collect.py::test_collect_functools_partial PASSED >testing/python/collect.py::test_dont_collect_non_function_callable FAILED >testing/python/collect.py::test_class_injection_does_not_break_collection PASSED >testing/python/collect.py::test_syntax_error_with_non_ascii_chars PASSED >testing/python/collect.py::test_skip_duplicates_by_default PASSED >testing/python/collect.py::test_keep_duplicates PASSED >testing/python/fixture.py::test_getfuncargnames PASSED >testing/python/fixture.py::TestFillFixtures::test_fillfuncargs_exposed PASSED >testing/python/fixture.py::TestFillFixtures::test_funcarg_lookupfails PASSED >testing/python/fixture.py::TestFillFixtures::test_funcarg_basic PASSED >testing/python/fixture.py::TestFillFixtures::test_funcarg_lookup_modulelevel PASSED >testing/python/fixture.py::TestFillFixtures::test_funcarg_lookup_classlevel PASSED >testing/python/fixture.py::TestFillFixtures::test_conftest_funcargs_only_available_in_subdir PASSED >testing/python/fixture.py::TestFillFixtures::test_extend_fixture_module_class PASSED >testing/python/fixture.py::TestFillFixtures::test_extend_fixture_conftest_module PASSED >testing/python/fixture.py::TestFillFixtures::test_extend_fixture_conftest_conftest PASSED >testing/python/fixture.py::TestFillFixtures::test_extend_fixture_conftest_plugin PASSED >testing/python/fixture.py::TestFillFixtures::test_extend_fixture_plugin_plugin PASSED >testing/python/fixture.py::TestFillFixtures::test_override_parametrized_fixture_conftest_module PASSED >testing/python/fixture.py::TestFillFixtures::test_override_parametrized_fixture_conftest_conftest PASSED >testing/python/fixture.py::TestFillFixtures::test_override_non_parametrized_fixture_conftest_module PASSED >testing/python/fixture.py::TestFillFixtures::test_override_non_parametrized_fixture_conftest_conftest PASSED >testing/python/fixture.py::TestFillFixtures::test_override_autouse_fixture_with_parametrized_fixture_conftest_conftest PASSED >testing/python/fixture.py::TestFillFixtures::test_autouse_fixture_plugin PASSED >testing/python/fixture.py::TestFillFixtures::test_funcarg_lookup_error PASSED >testing/python/fixture.py::TestFillFixtures::test_fixture_excinfo_leak PASSED >testing/python/fixture.py::TestRequestBasic::test_request_attributes PASSED >testing/python/fixture.py::TestRequestBasic::test_request_attributes_method PASSED >testing/python/fixture.py::TestRequestBasic::test_request_contains_funcarg_arg2fixturedefs PASSED >testing/python/fixture.py::TestRequestBasic::test_getfixturevalue_recursive PASSED >testing/python/fixture.py::TestRequestBasic::test_getfixturevalue[getfixturevalue] PASSED >testing/python/fixture.py::TestRequestBasic::test_getfixturevalue[getfuncargvalue] PASSED >testing/python/fixture.py::TestRequestBasic::test_request_addfinalizer PASSED >testing/python/fixture.py::TestRequestBasic::test_mark_as_fixture_with_prefix_and_decorator_fails PASSED >testing/python/fixture.py::TestRequestBasic::test_request_addfinalizer_failing_setup PASSED >testing/python/fixture.py::TestRequestBasic::test_request_addfinalizer_failing_setup_module PASSED >testing/python/fixture.py::TestRequestBasic::test_request_addfinalizer_partial_setup_failure PASSED >testing/python/fixture.py::TestRequestBasic::test_request_getmodulepath PASSED >testing/python/fixture.py::TestRequestBasic::test_request_fixturenames PASSED >testing/python/fixture.py::TestRequestBasic::test_funcargnames_compatattr PASSED >testing/python/fixture.py::TestRequestBasic::test_setupdecorator_and_xunit PASSED >testing/python/fixture.py::TestRequestBasic::test_fixtures_sub_subdir_normalize_sep PASSED >testing/python/fixture.py::TestRequestBasic::test_show_fixtures_color_yes PASSED >testing/python/fixture.py::TestRequestBasic::test_newstyle_with_request PASSED >testing/python/fixture.py::TestRequestBasic::test_setupcontext_no_param PASSED >testing/python/fixture.py::TestRequestMarking::test_applymarker PASSED >testing/python/fixture.py::TestRequestMarking::test_accesskeywords PASSED >testing/python/fixture.py::TestRequestMarking::test_accessmarker_dynamic PASSED >testing/python/fixture.py::TestRequestCachedSetup::test_request_cachedsetup_defaultmodule PASSED >testing/python/fixture.py::TestRequestCachedSetup::test_request_cachedsetup_class PASSED >testing/python/fixture.py::TestRequestCachedSetup::test_request_cachedsetup_extrakey PASSED >testing/python/fixture.py::TestRequestCachedSetup::test_request_cachedsetup_cache_deletion PASSED >testing/python/fixture.py::TestRequestCachedSetup::test_request_cached_setup_two_args PASSED >testing/python/fixture.py::TestRequestCachedSetup::test_request_cached_setup_getfixturevalue PASSED >testing/python/fixture.py::TestRequestCachedSetup::test_request_cached_setup_functional PASSED >testing/python/fixture.py::TestRequestCachedSetup::test_issue117_sessionscopeteardown PASSED >testing/python/fixture.py::TestFixtureUsages::test_noargfixturedec PASSED >testing/python/fixture.py::TestFixtureUsages::test_receives_funcargs PASSED >testing/python/fixture.py::TestFixtureUsages::test_receives_funcargs_scope_mismatch PASSED >testing/python/fixture.py::TestFixtureUsages::test_receives_funcargs_scope_mismatch_issue660 PASSED >testing/python/fixture.py::TestFixtureUsages::test_invalid_scope PASSED >testing/python/fixture.py::TestFixtureUsages::test_funcarg_parametrized_and_used_twice PASSED >testing/python/fixture.py::TestFixtureUsages::test_factory_uses_unknown_funcarg_as_dependency_error PASSED >testing/python/fixture.py::TestFixtureUsages::test_factory_setup_as_classes_fails PASSED >testing/python/fixture.py::TestFixtureUsages::test_request_can_be_overridden PASSED >testing/python/fixture.py::TestFixtureUsages::test_usefixtures_marker PASSED >testing/python/fixture.py::TestFixtureUsages::test_usefixtures_ini PASSED >testing/python/fixture.py::TestFixtureUsages::test_usefixtures_seen_in_showmarkers PASSED >testing/python/fixture.py::TestFixtureUsages::test_request_instance_issue203 PASSED >testing/python/fixture.py::TestFixtureUsages::test_fixture_parametrized_with_iterator PASSED >testing/python/fixture.py::TestFixtureManagerParseFactories::test_parsefactories_evil_objects_issue214 PASSED >testing/python/fixture.py::TestFixtureManagerParseFactories::test_parsefactories_conftest PASSED >testing/python/fixture.py::TestFixtureManagerParseFactories::test_parsefactories_conftest_and_module_and_class PASSED >testing/python/fixture.py::TestFixtureManagerParseFactories::test_parsefactories_relative_node_ids PASSED >testing/python/fixture.py::TestAutouseDiscovery::test_parsefactories_conftest PASSED >testing/python/fixture.py::TestAutouseDiscovery::test_two_classes_separated_autouse PASSED >testing/python/fixture.py::TestAutouseDiscovery::test_setup_at_classlevel PASSED >testing/python/fixture.py::TestAutouseDiscovery::test_setup_enabled_functionnode xfail >testing/python/fixture.py::TestAutouseDiscovery::test_callables_nocode PASSED >testing/python/fixture.py::TestAutouseDiscovery::test_autouse_in_conftests PASSED >testing/python/fixture.py::TestAutouseDiscovery::test_autouse_in_module_and_two_classes PASSED >testing/python/fixture.py::TestAutouseManagement::test_autouse_conftest_mid_directory PASSED >testing/python/fixture.py::TestAutouseManagement::test_autouse_honored_for_yield PASSED >testing/python/fixture.py::TestAutouseManagement::test_funcarg_and_setup PASSED >testing/python/fixture.py::TestAutouseManagement::test_uses_parametrized_resource PASSED >testing/python/fixture.py::TestAutouseManagement::test_session_parametrized_function PASSED >testing/python/fixture.py::TestAutouseManagement::test_class_function_parametrization_finalization PASSED >testing/python/fixture.py::TestAutouseManagement::test_scope_ordering PASSED >testing/python/fixture.py::TestAutouseManagement::test_parametrization_setup_teardown_ordering PASSED >testing/python/fixture.py::TestAutouseManagement::test_ordering_autouse_before_explicit PASSED >testing/python/fixture.py::TestAutouseManagement::test_ordering_dependencies_torndown_first[p10-p00] PASSED >testing/python/fixture.py::TestAutouseManagement::test_ordering_dependencies_torndown_first[p10-p01] PASSED >testing/python/fixture.py::TestAutouseManagement::test_ordering_dependencies_torndown_first[p11-p00] PASSED >testing/python/fixture.py::TestAutouseManagement::test_ordering_dependencies_torndown_first[p11-p01] PASSED >testing/python/fixture.py::TestFixtureMarker::test_parametrize PASSED >testing/python/fixture.py::TestFixtureMarker::test_multiple_parametrization_issue_736 PASSED >testing/python/fixture.py::TestFixtureMarker::test_override_parametrized_fixture_issue_979['fixt, val'] PASSED >testing/python/fixture.py::TestFixtureMarker::test_override_parametrized_fixture_issue_979['fixt,val'] PASSED >testing/python/fixture.py::TestFixtureMarker::test_override_parametrized_fixture_issue_979[['fixt', 'val']] PASSED >testing/python/fixture.py::TestFixtureMarker::test_override_parametrized_fixture_issue_979[('fixt', 'val')] PASSED >testing/python/fixture.py::TestFixtureMarker::test_scope_session PASSED >testing/python/fixture.py::TestFixtureMarker::test_scope_session_exc PASSED >testing/python/fixture.py::TestFixtureMarker::test_scope_session_exc_two_fix PASSED >testing/python/fixture.py::TestFixtureMarker::test_scope_exc PASSED >testing/python/fixture.py::TestFixtureMarker::test_scope_module_uses_session PASSED >testing/python/fixture.py::TestFixtureMarker::test_scope_module_and_finalizer PASSED >testing/python/fixture.py::TestFixtureMarker::test_scope_mismatch_various[getfixturevalue] PASSED >testing/python/fixture.py::TestFixtureMarker::test_scope_mismatch_various[cached_setup] PASSED >testing/python/fixture.py::TestFixtureMarker::test_register_only_with_mark PASSED >testing/python/fixture.py::TestFixtureMarker::test_parametrize_and_scope PASSED >testing/python/fixture.py::TestFixtureMarker::test_scope_mismatch PASSED >testing/python/fixture.py::TestFixtureMarker::test_parametrize_separated_order PASSED >testing/python/fixture.py::TestFixtureMarker::test_module_parametrized_ordering PASSED >testing/python/fixture.py::TestFixtureMarker::test_class_ordering PASSED >testing/python/fixture.py::TestFixtureMarker::test_parametrize_separated_order_higher_scope_first PASSED >testing/python/fixture.py::TestFixtureMarker::test_parametrized_fixture_teardown_order PASSED >testing/python/fixture.py::TestFixtureMarker::test_fixture_finalizer PASSED >testing/python/fixture.py::TestFixtureMarker::test_class_scope_with_normal_tests PASSED >testing/python/fixture.py::TestFixtureMarker::test_request_is_clean PASSED >testing/python/fixture.py::TestFixtureMarker::test_parametrize_separated_lifecycle PASSED >testing/python/fixture.py::TestFixtureMarker::test_parametrize_function_scoped_finalizers_called PASSED >testing/python/fixture.py::TestFixtureMarker::test_finalizer_order_on_parametrization[session] PASSED >testing/python/fixture.py::TestFixtureMarker::test_finalizer_order_on_parametrization[function] PASSED >testing/python/fixture.py::TestFixtureMarker::test_finalizer_order_on_parametrization[module] PASSED >testing/python/fixture.py::TestFixtureMarker::test_class_scope_parametrization_ordering PASSED >testing/python/fixture.py::TestFixtureMarker::test_parametrize_setup_function PASSED >testing/python/fixture.py::TestFixtureMarker::test_fixture_marked_function_not_collected_as_test PASSED >testing/python/fixture.py::TestFixtureMarker::test_params_and_ids PASSED >testing/python/fixture.py::TestFixtureMarker::test_params_and_ids_yieldfixture PASSED >testing/python/fixture.py::TestRequestScopeAccess::test_setup[session--fspath class function module] PASSED >testing/python/fixture.py::TestRequestScopeAccess::test_setup[module-module fspath-cls function] PASSED >testing/python/fixture.py::TestRequestScopeAccess::test_setup[class-module fspath cls-function] PASSED >testing/python/fixture.py::TestRequestScopeAccess::test_setup[function-module fspath cls function-] PASSED >testing/python/fixture.py::TestRequestScopeAccess::test_funcarg[session--fspath class function module] PASSED >testing/python/fixture.py::TestRequestScopeAccess::test_funcarg[module-module fspath-cls function] PASSED >testing/python/fixture.py::TestRequestScopeAccess::test_funcarg[class-module fspath cls-function] PASSED >testing/python/fixture.py::TestRequestScopeAccess::test_funcarg[function-module fspath cls function-] PASSED >testing/python/fixture.py::TestErrors::test_subfactory_missing_funcarg PASSED >testing/python/fixture.py::TestErrors::test_issue498_fixture_finalizer_failing PASSED >testing/python/fixture.py::TestErrors::test_setupfunc_missing_funcarg PASSED >testing/python/fixture.py::TestShowFixtures::test_funcarg_compat PASSED >testing/python/fixture.py::TestShowFixtures::test_show_fixtures PASSED >testing/python/fixture.py::TestShowFixtures::test_show_fixtures_verbose PASSED >testing/python/fixture.py::TestShowFixtures::test_show_fixtures_testmodule PASSED >testing/python/fixture.py::TestShowFixtures::test_show_fixtures_conftest[True] PASSED >testing/python/fixture.py::TestShowFixtures::test_show_fixtures_conftest[False] PASSED >testing/python/fixture.py::TestShowFixtures::test_show_fixtures_trimmed_doc PASSED >testing/python/fixture.py::TestShowFixtures::test_show_fixtures_different_files PASSED >testing/python/fixture.py::TestShowFixtures::test_show_fixtures_with_same_name PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_simple[fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_simple[yield_fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_scoped[fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_scoped[yield_fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_setup_exception[fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_setup_exception[yield_fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_teardown_exception[fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_teardown_exception[yield_fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_yields_more_than_one[fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_yields_more_than_one[yield_fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_custom_name[fixture] PASSED >testing/python/fixture.py::TestContextManagerFixtureFuncs::test_custom_name[yield_fixture] PASSED >testing/python/fixture.py::TestParameterizedSubRequest::test_call_from_fixture PASSED >testing/python/fixture.py::TestParameterizedSubRequest::test_call_from_test PASSED >testing/python/fixture.py::TestParameterizedSubRequest::test_external_fixture PASSED >testing/python/fixture.py::TestParameterizedSubRequest::test_non_relative_path PASSED >testing/python/integration.py::TestOEJSKITSpecials::test_funcarg_non_pycollectobj PASSED >testing/python/integration.py::TestOEJSKITSpecials::test_autouse_fixture PASSED >testing/python/integration.py::test_wrapped_getfslineno PASSED >testing/python/integration.py::TestMockDecoration::test_wrapped_getfuncargnames PASSED >testing/python/integration.py::TestMockDecoration::test_wrapped_getfuncargnames_patching PASSED >testing/python/integration.py::TestMockDecoration::test_unittest_mock SKIPPED >testing/python/integration.py::TestMockDecoration::test_unittest_mock_and_fixture SKIPPED >testing/python/integration.py::TestMockDecoration::test_mock PASSED >testing/python/integration.py::TestMockDecoration::test_mock_sorting PASSED >testing/python/integration.py::TestMockDecoration::test_mock_double_patch_issue473 PASSED >testing/python/integration.py::TestReRunTests::test_rerun PASSED >testing/python/integration.py::test_pytestconfig_is_session_scoped PASSED >testing/python/integration.py::TestNoselikeTestAttribute::test_module_with_global_test PASSED >testing/python/integration.py::TestNoselikeTestAttribute::test_class_and_method PASSED >testing/python/integration.py::TestNoselikeTestAttribute::test_unittest_class PASSED >testing/python/integration.py::TestNoselikeTestAttribute::test_class_with_nasty_getattr PASSED >testing/python/integration.py::TestParameterize::test_idfn_marker PASSED >testing/python/integration.py::TestParameterize::test_idfn_fixture PASSED >testing/python/metafunc.py::TestMetafunc::test_no_funcargs PASSED >testing/python/metafunc.py::TestMetafunc::test_function_basic PASSED >testing/python/metafunc.py::TestMetafunc::test_addcall_no_args PASSED >testing/python/metafunc.py::TestMetafunc::test_addcall_id PASSED >testing/python/metafunc.py::TestMetafunc::test_addcall_param PASSED >testing/python/metafunc.py::TestMetafunc::test_addcall_funcargs PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_error PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_bad_scope PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_and_id PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_and_id_unicode PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_with_wrong_number_of_ids PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_empty_list PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_with_userobjects PASSED >testing/python/metafunc.py::TestMetafunc::test_idval_hypothesis PASSED >testing/python/metafunc.py::TestMetafunc::test_unicode_idval PASSED >testing/python/metafunc.py::TestMetafunc::test_bytes_idval PASSED >testing/python/metafunc.py::TestMetafunc::test_idmaker_autoname PASSED >testing/python/metafunc.py::TestMetafunc::test_idmaker_with_bytes_regex PASSED >testing/python/metafunc.py::TestMetafunc::test_idmaker_native_strings PASSED >testing/python/metafunc.py::TestMetafunc::test_idmaker_enum PASSED >testing/python/metafunc.py::TestMetafunc::test_idmaker_idfn PASSED >testing/python/metafunc.py::TestMetafunc::test_idmaker_idfn_unique_names PASSED >testing/python/metafunc.py::TestMetafunc::test_idmaker_idfn_exception PASSED >testing/python/metafunc.py::TestMetafunc::test_idmaker_with_ids PASSED >testing/python/metafunc.py::TestMetafunc::test_idmaker_with_ids_unique_names PASSED >testing/python/metafunc.py::TestMetafunc::test_addcall_and_parametrize PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_indirect PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_indirect_list PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_indirect_list_all PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_indirect_list_empty PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_indirect_list_functional PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_indirect_list_error PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_uses_no_fixture_error_indirect_false PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_uses_no_fixture_error_indirect_true PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_indirect_uses_no_fixture_error_indirect_string PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_indirect_uses_no_fixture_error_indirect_list PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_argument_not_in_indirect_list PASSED >testing/python/metafunc.py::TestMetafunc::test_addcalls_and_parametrize_indirect PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_functional PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_onearg PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_onearg_indirect PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_twoargs PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_multiple_times PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_CSV PASSED >testing/python/metafunc.py::TestMetafunc::test_parametrize_class_scenarios PASSED >testing/python/metafunc.py::TestMetafunc::test_format_args PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_attributes PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_addcall_with_two_funcargs_generators PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_two_functions PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_noself_in_method PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_generate_plugin_and_module PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_generate_tests_in_class PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_two_functions_not_same_instance PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_issue28_setup_method_in_generate_tests PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_functional2 PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_and_inner_getfixturevalue PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_on_setup_arg PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_with_ids PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_without_ids PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_with_None_in_ids PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_fixture_parametrized_empty_ids FAILED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrized_empty_ids FAILED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrized_ids_invalid_type PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_with_identical_ids_get_unique_names PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_scope_overrides[module-2] PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_scope_overrides[function-4] PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_issue323 PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_usefixtures_seen_in_generate_tests PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_generate_tests_only_done_in_subdir PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_generate_same_function_names_issue403 PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_misspelling[parametrise] PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_misspelling[parameterize] PASSED >testing/python/metafunc.py::TestMetafuncFunctional::test_parametrize_misspelling[parameterise] PASSED >testing/python/metafunc.py::TestMetafuncFunctionalAuto::test_parametrize_auto_scope FAILED >testing/python/metafunc.py::TestMetafuncFunctionalAuto::test_parametrize_auto_scope_indirect FAILED >testing/python/metafunc.py::TestMetafuncFunctionalAuto::test_parametrize_auto_scope_override_fixture FAILED >testing/python/metafunc.py::TestMetafuncFunctionalAuto::test_parametrize_all_indirects FAILED >testing/python/metafunc.py::TestMetafuncFunctionalAuto::test_parametrize_issue634 PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_simple_mark PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_select_based_on_mark PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_nested_marks xfail >testing/python/metafunc.py::TestMarkersWithParametrization::test_simple_xfail PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_simple_xfail_single_argname PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_xfail_with_arg PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_xfail_with_kwarg PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_xfail_with_arg_and_kwarg PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_xfail_passing_is_xpass[True] PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_xfail_passing_is_xpass[False] PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_parametrize_called_in_generate_tests PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_parametrize_ID_generation_string_int_works PASSED >testing/python/metafunc.py::TestMarkersWithParametrization::test_pytest_make_parametrize_id PASSED >testing/python/raises.py::TestRaises::test_raises PASSED >testing/python/raises.py::TestRaises::test_raises_exec PASSED >testing/python/raises.py::TestRaises::test_raises_syntax_error PASSED >testing/python/raises.py::TestRaises::test_raises_function PASSED >testing/python/raises.py::TestRaises::test_raises_callable_no_exception PASSED >testing/python/raises.py::TestRaises::test_raises_flip_builtin_AssertionError PASSED >testing/python/raises.py::TestRaises::test_raises_as_contextmanager PASSED >testing/python/raises.py::TestRaises::test_noclass PASSED >testing/python/raises.py::TestRaises::test_tuple PASSED >testing/python/raises.py::TestRaises::test_no_raise_message PASSED >testing/python/raises.py::TestRaises::test_custom_raise_message PASSED >testing/python/raises.py::TestRaises::test_raises_cyclic_reference[function] PASSED >testing/python/raises.py::TestRaises::test_raises_cyclic_reference[with] PASSED >testing/python/setup_only.py::test_show_only_active_fixtures[--setup-only] PASSED >testing/python/setup_only.py::test_show_different_scopes[--setup-only] PASSED >testing/python/setup_only.py::test_show_nested_fixtures[--setup-only] PASSED >testing/python/setup_only.py::test_show_fixtures_with_autouse[--setup-only] PASSED >testing/python/setup_only.py::test_show_fixtures_with_parameters[--setup-only] PASSED >testing/python/setup_only.py::test_show_fixtures_with_parameter_ids[--setup-only] PASSED >testing/python/setup_only.py::test_show_fixtures_with_parameter_ids_function[--setup-only] PASSED >testing/python/setup_only.py::test_show_only_active_fixtures[--setup-plan] PASSED >testing/python/setup_only.py::test_show_different_scopes[--setup-plan] PASSED >testing/python/setup_only.py::test_show_nested_fixtures[--setup-plan] PASSED >testing/python/setup_only.py::test_show_fixtures_with_autouse[--setup-plan] PASSED >testing/python/setup_only.py::test_show_fixtures_with_parameters[--setup-plan] PASSED >testing/python/setup_only.py::test_show_fixtures_with_parameter_ids[--setup-plan] PASSED >testing/python/setup_only.py::test_show_fixtures_with_parameter_ids_function[--setup-plan] PASSED >testing/python/setup_only.py::test_show_only_active_fixtures[--setup-show] PASSED >testing/python/setup_only.py::test_show_different_scopes[--setup-show] PASSED >testing/python/setup_only.py::test_show_nested_fixtures[--setup-show] PASSED >testing/python/setup_only.py::test_show_fixtures_with_autouse[--setup-show] PASSED >testing/python/setup_only.py::test_show_fixtures_with_parameters[--setup-show] PASSED >testing/python/setup_only.py::test_show_fixtures_with_parameter_ids[--setup-show] PASSED >testing/python/setup_only.py::test_show_fixtures_with_parameter_ids_function[--setup-show] PASSED >testing/python/setup_only.py::test_dynamic_fixture_request PASSED >testing/python/setup_only.py::test_capturing PASSED >testing/python/setup_only.py::test_show_fixtures_and_execute_test PASSED >testing/python/setup_plan.py::test_show_fixtures_and_test PASSED >testing/python/show_fixtures_per_test.py::test_no_items_should_not_show_output PASSED >testing/python/show_fixtures_per_test.py::test_fixtures_in_module PASSED >testing/python/show_fixtures_per_test.py::test_fixtures_in_conftest PASSED >testing/python/show_fixtures_per_test.py::test_should_show_fixtures_used_by_test PASSED >testing/python/show_fixtures_per_test.py::test_verbose_include_private_fixtures_and_loc PASSED >=========================== short test summary info ============================ >XFAIL testing/acceptance_test.py::TestInvocationVariants::()::test_noclass_discovery_if_not_testcase > decide: feature or bug >XFAIL testing/test_capture.py::TestPerTestCapturing::()::test_capture_scope_cache > unimplemented feature >XFAIL testing/test_collection.py::TestPrunetraceback::()::test_collect_report_postprocessing > other mechanism for adding to reporting needed >XFAIL testing/test_config.py::TestParseIni::()::test_confcutdir > probably not needed >XFAIL testing/test_junitxml.py::test_runs_twice_xdist > reason: [NOTRUN] hangs >XFAIL testing/test_mark.py::TestFunctional::()::test_merging_markers_deep > unfixed >XFAIL testing/test_mark.py::TestFunctional::()::test_mark_should_not_pass_to_siebling_class > markers smear on methods of base classes >XFAIL testing/test_mark.py::TestFunctional::()::test_mark_from_parameters > callspec2.setmulti misuses keywords >XFAIL testing/test_mark.py::TestKeywordSelection::()::test_keyword_extra_dash >XFAIL testing/test_pytester.py::test_make_hook_recorder > reason: internal reportrecorder tests need refactoring >XFAIL testing/test_runner.py::test_runtest_in_module_ordering >XFAIL testing/python/fixture.py::TestAutouseDiscovery::()::test_setup_enabled_functionnode > 'enabled' feature not implemented >XFAIL testing/python/metafunc.py::TestMarkersWithParametrization::()::test_nested_marks > is this important to support?? >SKIP [1] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/test_unittest.py:337: could not import 'twisted.trial.unittest' >SKIP [1] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/python/integration.py:106: could not import 'unittest.mock' >SKIP [1] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/code/test_excinfo.py:326: could not import 'jinja2' >SKIP [1] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/python/integration.py:120: could not import 'unittest.mock' >SKIP [1] testing/test_capture.py:664: python2 has no buffer >SKIP [1] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/acceptance_test.py:769: could not import 'zipapp' >SKIP [1] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/test_unittest.py:376: could not import 'twisted.trial.unittest' >SKIP [1] testing/test_assertion.py:752: Python 3.4+ shows chained exceptions on multiprocess >SKIP [1] testing/code/test_excinfo.py:975: condition: sys.version_info[0] < 3 >SKIP [1] testing/test_assertrewrite.py:518: packages without __init__.py not supported on python 2 >SKIP [1] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/test_unittest.py:363: could not import 'twisted.trial.unittest' >SKIP [1] testing/test_tmpdir.py:172: win only >SKIP [1] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/code/test_excinfo.py:233: could not import 'decorator' >SKIP [1] testing/test_assertrewrite.py:284: condition: sys.version_info < (3,5) >SKIP [16] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4-python2_7/lib/_pytest/pytester.py:1002: could not import 'pexpect' >SKIP [2] testing/code/test_excinfo.py:1052: condition: sys.version_info[0] < 3 >SKIP [1] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/test_unittest.py:350: could not import 'twisted.trial.unittest' >SKIP [4] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/test_unittest.py:390: could not import 'twisted.trial.unittest' >SKIP [2] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/test_capture.py:732: could not run 'lsof' >SKIP [1] /var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4/testing/test_parseopt.py:294: bash provided no output, argcomplete not available? > >=================================== FAILURES =================================== >_______________________ TestDurations.test_calls_show_2 ________________________ > >self = <acceptance_test.TestDurations instance at 0x7efebd603ea8> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_calls_show_20')> > > def test_calls_show_2(self, testdir): > testdir.makepyfile(self.source) > result = testdir.runpytest("--durations=2") > assert result.ret == 0 > lines = result.stdout.get_lines_after("*slowest*durations*") >> assert "4 passed" in lines[2] >E assert '4 passed' in '============================ pytest-warning summary ============================' > >../../../../../work/pytest-3.0.4/testing/acceptance_test.py:703: AssertionError >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_calls_show_20, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 4 items > >test_calls_show_2.py .... > >=========================== slowest 2 test durations =========================== >0.02s call test_calls_show_2.py::test_3 >0.01s call test_calls_show_2.py::test_2 >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 4 passed, 3 pytest-warnings in 0.04 seconds ================== >_____________________ TestNewAPI.test_cache_failure_warns ______________________ > >self = <test_cache.TestNewAPI instance at 0x7efebd653098> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_cache_failure_warns0')> > > @pytest.mark.skipif(sys.platform.startswith('win'), reason='no chmod on windows') > def test_cache_failure_warns(self, testdir): > testdir.tmpdir.ensure_dir('.cache').chmod(0) > testdir.makepyfile(""" > def test_error(): > raise Exception > > """) > result = testdir.runpytest('-rw') > assert result.ret == 1 > result.stdout.fnmatch_lines([ > "*could not create cache path*", >> "*1 pytest-warnings*", > ]) >E Failed: nomatch: '*could not create cache path*' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_cache_failure_warns0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_cache_failure_warns.py F' >E and: u'' >E and: u'=================================== FAILURES ===================================' >E and: u'__________________________________ test_error __________________________________' >E and: u'' >E and: u' def test_error():' >E and: u'> raise Exception' >E and: u'E Exception' >E and: u'' >E and: u'test_cache_failure_warns.py:2: Exception' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E fnmatch: '*could not create cache path*' >E with: u'WI9 None could not create cache path /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_cache_failure_warns0/.cache/v/cache/lastfailed' >E nomatch: '*1 pytest-warnings*' >E and: u'================= 1 failed, 4 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*1 pytest-warnings*' > >../../../../../work/pytest-3.0.4/testing/test_cache.py:57: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_cache_failure_warns0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_cache_failure_warns.py F > >=================================== FAILURES =================================== >__________________________________ test_error __________________________________ > > def test_error(): >> raise Exception >E Exception > >test_cache_failure_warns.py:2: Exception >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WI9 None could not create cache path /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_cache_failure_warns0/.cache/v/cache/lastfailed >================= 1 failed, 4 pytest-warnings in 0.01 seconds ================== >_______________ TestLastFailed.test_non_serializable_parametrize _______________ > >self = <test_cache.TestLastFailed instance at 0x7efebd5b5908> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_non_serializable_parametrize0')> > > def test_non_serializable_parametrize(self, testdir): > """Test that failed parametrized tests with unmarshable parameters > don't break pytest-cache. > """ > testdir.makepyfile(r""" > import pytest > > @pytest.mark.parametrize('val', [ > b'\xac\x10\x02G', > ]) > def test_fail(val): > assert False > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines('*1 failed in*') >E Failed: nomatch: '*1 failed in*' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_non_serializable_parametrize0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_non_serializable_parametrize.py F' >E and: u'' >E and: u'=================================== FAILURES ===================================' >E and: u'___________________________ test_fail[\\xac\\x10\\x02G] ___________________________' >E and: u'' >E and: u"val = '\\xac\\x10\\x02G'" >E and: u'' >E and: u" @pytest.mark.parametrize('val', [" >E and: u" b'\\xac\\x10\\x02G'," >E and: u' ])' >E and: u' def test_fail(val):' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'test_non_serializable_parametrize.py:7: AssertionError' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 failed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*1 failed in*' > >../../../../../work/pytest-3.0.4/testing/test_cache.py:285: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_non_serializable_parametrize0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_non_serializable_parametrize.py F > >=================================== FAILURES =================================== >___________________________ test_fail[\xac\x10\x02G] ___________________________ > >val = '\xac\x10\x02G' > > @pytest.mark.parametrize('val', [ > b'\xac\x10\x02G', > ]) > def test_fail(val): >> assert False >E assert False > >test_non_serializable_parametrize.py:7: AssertionError >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 failed, 3 pytest-warnings in 0.01 seconds ================== >______________ TestCaptureFixture.test_capturing_getfixturevalue _______________ > >self = <test_capture.TestCaptureFixture instance at 0x7efebc86e9e0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0')> > > def test_capturing_getfixturevalue(self, testdir): > """Test that asking for "capfd" and "capsys" using request.getfixturevalue > in the same test is an error. > """ > testdir.makepyfile(""" > def test_one(capsys, request): > request.getfixturevalue("capfd") > def test_two(capfd, request): > request.getfixturevalue("capsys") > """) > result = testdir.runpytest() > result.stdout.fnmatch_lines([ > "*test_one*", > "*capsys*capfd*same*time*", > "*test_two*", > "*capsys*capfd*same*time*", >> "*2 failed in*", > ]) >E Failed: nomatch: '*test_one*' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 2 items' >E and: u'' >E and: u'test_capturing_getfixturevalue.py FF' >E and: u'' >E and: u'=================================== FAILURES ===================================' >E fnmatch: '*test_one*' >E with: u'___________________________________ test_one ___________________________________' >E nomatch: '*capsys*capfd*same*time*' >E and: u'file /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0/test_capturing_getfixturevalue.py, line 1' >E and: u' def test_one(capsys, request):' >E fnmatch: '*capsys*capfd*same*time*' >E with: u'E cannot use capsys and capfd at the same time' >E nomatch: '*test_two*' >E and: u'' >E and: u'/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0/test_capturing_getfixturevalue.py:1' >E fnmatch: '*test_two*' >E with: u'___________________________________ test_two ___________________________________' >E nomatch: '*capsys*capfd*same*time*' >E and: u'file /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0/test_capturing_getfixturevalue.py, line 3' >E and: u' def test_two(capfd, request):' >E fnmatch: '*capsys*capfd*same*time*' >E with: u'E cannot use capsys and capfd at the same time' >E nomatch: '*2 failed in*' >E and: u'' >E and: u'/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0/test_capturing_getfixturevalue.py:3' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 2 failed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*2 failed in*' > >../../../../../work/pytest-3.0.4/testing/test_capture.py:440: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 2 items > >test_capturing_getfixturevalue.py FF > >=================================== FAILURES =================================== >___________________________________ test_one ___________________________________ >file /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0/test_capturing_getfixturevalue.py, line 1 > def test_one(capsys, request): >E cannot use capsys and capfd at the same time > >/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0/test_capturing_getfixturevalue.py:1 >___________________________________ test_two ___________________________________ >file /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0/test_capturing_getfixturevalue.py, line 3 > def test_two(capfd, request): >E cannot use capsys and capfd at the same time > >/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_capturing_getfixturevalue0/test_capturing_getfixturevalue.py:3 >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 2 failed, 3 pytest-warnings in 0.01 seconds ================== >______________________ test_continue_on_collection_errors ______________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors0')> > > def test_continue_on_collection_errors(testdir): > """ > Verify tests are executed even when collection errors occur when the > --continue-on-collection-errors flag is set > """ > testdir.makepyfile(**COLLECTION_ERROR_PY_FILES) > > res = testdir.runpytest("--continue-on-collection-errors") > assert res.ret == 1 > > res.stdout.fnmatch_lines([ > "collected 2 items / 2 errors", >> "*1 failed, 1 passed, 2 error*", > ]) >E Failed: nomatch: 'collected 2 items / 2 errors' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E exact match: 'collected 2 items / 2 errors' >E nomatch: '*1 failed, 1 passed, 2 error*' >E and: u'' >E and: u'test_01_failure.py F' >E and: u'test_04_success.py .' >E and: u'' >E and: u'==================================== ERRORS ====================================' >E and: u'___________________ ERROR collecting test_02_import_error.py ___________________' >E and: u"ImportError while importing test module '/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors0/test_02_import_error.py'." >E and: u'Hint: make sure your test modules/packages have valid Python names.' >E and: u'Traceback:' >E and: u'test_02_import_error.py:1: in <module>' >E and: u' import asdfasdfasdf' >E and: u'E ImportError: No module named asdfasdfasdf' >E and: u'___________________ ERROR collecting test_03_import_error.py ___________________' >E and: u"ImportError while importing test module '/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors0/test_03_import_error.py'." >E and: u'Hint: make sure your test modules/packages have valid Python names.' >E and: u'Traceback:' >E and: u'test_03_import_error.py:1: in <module>' >E and: u' import asdfasdfasdf' >E and: u'E ImportError: No module named asdfasdfasdf' >E and: u'=================================== FAILURES ===================================' >E and: u'____________________________________ test_1 ____________________________________' >E and: u'' >E and: u' def test_1():' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'test_01_failure.py:2: AssertionError' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'======== 1 failed, 1 passed, 3 pytest-warnings, 2 error in 0.02 seconds ========' >E and: u'' >E remains unmatched: '*1 failed, 1 passed, 2 error*' > >../../../../../work/pytest-3.0.4/testing/test_collection.py:727: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 2 items / 2 errors > >test_01_failure.py F >test_04_success.py . > >==================================== ERRORS ==================================== >___________________ ERROR collecting test_02_import_error.py ___________________ >ImportError while importing test module '/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors0/test_02_import_error.py'. >Hint: make sure your test modules/packages have valid Python names. >Traceback: >test_02_import_error.py:1: in <module> > import asdfasdfasdf >E ImportError: No module named asdfasdfasdf >___________________ ERROR collecting test_03_import_error.py ___________________ >ImportError while importing test module '/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors0/test_03_import_error.py'. >Hint: make sure your test modules/packages have valid Python names. >Traceback: >test_03_import_error.py:1: in <module> > import asdfasdfasdf >E ImportError: No module named asdfasdfasdf >=================================== FAILURES =================================== >____________________________________ test_1 ____________________________________ > > def test_1(): >> assert False >E assert False > >test_01_failure.py:2: AssertionError >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >======== 1 failed, 1 passed, 3 pytest-warnings, 2 error in 0.02 seconds ======== >__________________ test_continue_on_collection_errors_maxfail __________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors_maxfail0')> > > def test_continue_on_collection_errors_maxfail(testdir): > """ > Verify tests are executed even when collection errors occur and that maxfail > is honoured (including the collection error count). > 4 tests: 2 collection errors + 1 failure + 1 success > test_4 is never executed because the test run is with --maxfail=3 which > means it is interrupted after the 2 collection errors + 1 failure. > """ > testdir.makepyfile(**COLLECTION_ERROR_PY_FILES) > > res = testdir.runpytest("--continue-on-collection-errors", "--maxfail=3") > assert res.ret == 2 > > res.stdout.fnmatch_lines([ > "collected 2 items / 2 errors", > "*Interrupted: stopping after 3 failures*", >> "*1 failed, 2 error*", > ]) >E Failed: nomatch: 'collected 2 items / 2 errors' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors_maxfail0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E exact match: 'collected 2 items / 2 errors' >E nomatch: '*Interrupted: stopping after 3 failures*' >E and: u'' >E and: u'test_01_failure.py F' >E and: u'' >E and: u'==================================== ERRORS ====================================' >E and: u'___________________ ERROR collecting test_02_import_error.py ___________________' >E and: u"ImportError while importing test module '/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors_maxfail0/test_02_import_error.py'." >E and: u'Hint: make sure your test modules/packages have valid Python names.' >E and: u'Traceback:' >E and: u'test_02_import_error.py:1: in <module>' >E and: u' import asdfasdfasdf' >E and: u'E ImportError: No module named asdfasdfasdf' >E and: u'___________________ ERROR collecting test_03_import_error.py ___________________' >E and: u"ImportError while importing test module '/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors_maxfail0/test_03_import_error.py'." >E and: u'Hint: make sure your test modules/packages have valid Python names.' >E and: u'Traceback:' >E and: u'test_03_import_error.py:1: in <module>' >E and: u' import asdfasdfasdf' >E and: u'E ImportError: No module named asdfasdfasdf' >E and: u'=================================== FAILURES ===================================' >E and: u'____________________________________ test_1 ____________________________________' >E and: u'' >E and: u' def test_1():' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'test_01_failure.py:2: AssertionError' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E fnmatch: '*Interrupted: stopping after 3 failures*' >E with: u'!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 3 failures !!!!!!!!!!!!!!!!!!!!' >E nomatch: '*1 failed, 2 error*' >E and: u'============= 1 failed, 3 pytest-warnings, 2 error in 0.17 seconds =============' >E and: u'' >E remains unmatched: '*1 failed, 2 error*' > >../../../../../work/pytest-3.0.4/testing/test_collection.py:747: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors_maxfail0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 2 items / 2 errors > >test_01_failure.py F > >==================================== ERRORS ==================================== >___________________ ERROR collecting test_02_import_error.py ___________________ >ImportError while importing test module '/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors_maxfail0/test_02_import_error.py'. >Hint: make sure your test modules/packages have valid Python names. >Traceback: >test_02_import_error.py:1: in <module> > import asdfasdfasdf >E ImportError: No module named asdfasdfasdf >___________________ ERROR collecting test_03_import_error.py ___________________ >ImportError while importing test module '/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_continue_on_collection_errors_maxfail0/test_03_import_error.py'. >Hint: make sure your test modules/packages have valid Python names. >Traceback: >test_03_import_error.py:1: in <module> > import asdfasdfasdf >E ImportError: No module named asdfasdfasdf >=================================== FAILURES =================================== >____________________________________ test_1 ____________________________________ > > def test_1(): >> assert False >E assert False > >test_01_failure.py:2: AssertionError >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 3 failures !!!!!!!!!!!!!!!!!!!! >============= 1 failed, 3 pytest-warnings, 2 error in 0.17 seconds ============= >______________________ TestDoctests.test_contains_unicode ______________________ > >self = <test_doctest.TestDoctests instance at 0x7efebc3a2b90> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_contains_unicode0')> > > def test_contains_unicode(self, testdir): > """Fix internal error with docstrings containing non-ascii characters. > """ > testdir.makepyfile(u''' > # encoding: utf-8 > def foo(): > """ > >>> name = 'Ñ' # not letter 'c' but instead Cyrillic 's'. > 'anything' > """ > ''') > result = testdir.runpytest('--doctest-modules') > result.stdout.fnmatch_lines([ > 'Got nothing', >> '* 1 failed in*', > ]) >E Failed: nomatch: 'Got nothing' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_contains_unicode0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_contains_unicode.py F' >E and: u'' >E and: u'=================================== FAILURES ===================================' >E and: u'_____________________ [doctest] test_contains_unicode.foo ______________________' >E and: u'003 ' >E and: u"004 >>> name = '\u0441' # not letter 'c' but instead Cyrillic 's'." >E and: u'Expected:' >E and: u" 'anything'" >E exact match: 'Got nothing' >E nomatch: '* 1 failed in*' >E and: u'' >E and: u'/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_contains_unicode0/test_contains_unicode.py:4: DocTestFailure' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 failed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '* 1 failed in*' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:443: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ==============================\nplatform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0\nrootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_contains_unicode0, inifile: \nplugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7\ncollected 1 items\n\ntest_contains_unicode.py F\n\n=================================== FAILURES ===================================\n_____________________ [doctest] test_contains_unicode.foo ______________________\n003 \n004 >>> name = '\u0441' # not letter 'c' but instead Cyrillic 's'.\nExpected:\n 'anything'\nGot nothing\n\n/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_contains_unicode0/test_contains_unicode.py:4: DocTestFailure\n============================ pytest-warning summary ============================\nWI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument\nWC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.\nWC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.\n================= 1 failed, 3 pytest-warnings in 0.01 seconds ================== >_________ TestDoctestAutoUseFixtures.test_fixture_scopes[True-module] __________ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc32a878> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes0')> >scope = 'module', enable_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('enable_doctest', [True, False]) > def test_fixture_scopes(self, testdir, scope, enable_doctest): > """Test that auto-use fixtures work properly with doctest modules. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope)) > testdir.makepyfile(test_1=''' > def test_foo(): > """ > >>> getfixture('auto') + 1 > 100 > """ > def test_bar(): > assert 1 > ''') > params = ('--doctest-modules',) if enable_doctest else () > passes = 3 if enable_doctest else 2 > result = testdir.runpytest(*params) >> result.stdout.fnmatch_lines(['*=== %d passed in *' % passes]) >E Failed: nomatch: '*=== 3 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_1.py ...' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 3 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 3 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:681: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_1.py ... > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 3 passed, 3 pytest-warnings in 0.01 seconds ================== >_________ TestDoctestAutoUseFixtures.test_fixture_scopes[True-session] _________ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc6c1ea8> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes1')> >scope = 'session', enable_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('enable_doctest', [True, False]) > def test_fixture_scopes(self, testdir, scope, enable_doctest): > """Test that auto-use fixtures work properly with doctest modules. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope)) > testdir.makepyfile(test_1=''' > def test_foo(): > """ > >>> getfixture('auto') + 1 > 100 > """ > def test_bar(): > assert 1 > ''') > params = ('--doctest-modules',) if enable_doctest else () > passes = 3 if enable_doctest else 2 > result = testdir.runpytest(*params) >> result.stdout.fnmatch_lines(['*=== %d passed in *' % passes]) >E Failed: nomatch: '*=== 3 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes1, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_1.py ...' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 3 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 3 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:681: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes1, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_1.py ... > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 3 passed, 3 pytest-warnings in 0.01 seconds ================== >__________ TestDoctestAutoUseFixtures.test_fixture_scopes[True-class] __________ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc7bfa70> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes2')> >scope = 'class', enable_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('enable_doctest', [True, False]) > def test_fixture_scopes(self, testdir, scope, enable_doctest): > """Test that auto-use fixtures work properly with doctest modules. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope)) > testdir.makepyfile(test_1=''' > def test_foo(): > """ > >>> getfixture('auto') + 1 > 100 > """ > def test_bar(): > assert 1 > ''') > params = ('--doctest-modules',) if enable_doctest else () > passes = 3 if enable_doctest else 2 > result = testdir.runpytest(*params) >> result.stdout.fnmatch_lines(['*=== %d passed in *' % passes]) >E Failed: nomatch: '*=== 3 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes2, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_1.py ...' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 3 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 3 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:681: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes2, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_1.py ... > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 3 passed, 3 pytest-warnings in 0.01 seconds ================== >________ TestDoctestAutoUseFixtures.test_fixture_scopes[True-function] _________ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc6d1e18> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes3')> >scope = 'function', enable_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('enable_doctest', [True, False]) > def test_fixture_scopes(self, testdir, scope, enable_doctest): > """Test that auto-use fixtures work properly with doctest modules. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope)) > testdir.makepyfile(test_1=''' > def test_foo(): > """ > >>> getfixture('auto') + 1 > 100 > """ > def test_bar(): > assert 1 > ''') > params = ('--doctest-modules',) if enable_doctest else () > passes = 3 if enable_doctest else 2 > result = testdir.runpytest(*params) >> result.stdout.fnmatch_lines(['*=== %d passed in *' % passes]) >E Failed: nomatch: '*=== 3 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes3, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_1.py ...' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 3 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 3 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:681: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes3, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_1.py ... > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 3 passed, 3 pytest-warnings in 0.01 seconds ================== >_________ TestDoctestAutoUseFixtures.test_fixture_scopes[False-module] _________ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebd425d40> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes4')> >scope = 'module', enable_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('enable_doctest', [True, False]) > def test_fixture_scopes(self, testdir, scope, enable_doctest): > """Test that auto-use fixtures work properly with doctest modules. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope)) > testdir.makepyfile(test_1=''' > def test_foo(): > """ > >>> getfixture('auto') + 1 > 100 > """ > def test_bar(): > assert 1 > ''') > params = ('--doctest-modules',) if enable_doctest else () > passes = 3 if enable_doctest else 2 > result = testdir.runpytest(*params) >> result.stdout.fnmatch_lines(['*=== %d passed in *' % passes]) >E Failed: nomatch: '*=== 2 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes4, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 2 items' >E and: u'' >E and: u'test_1.py ..' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 2 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 2 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:681: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes4, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 2 items > >test_1.py .. > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 2 passed, 3 pytest-warnings in 0.01 seconds ================== >________ TestDoctestAutoUseFixtures.test_fixture_scopes[False-session] _________ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebd2cd098> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes5')> >scope = 'session', enable_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('enable_doctest', [True, False]) > def test_fixture_scopes(self, testdir, scope, enable_doctest): > """Test that auto-use fixtures work properly with doctest modules. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope)) > testdir.makepyfile(test_1=''' > def test_foo(): > """ > >>> getfixture('auto') + 1 > 100 > """ > def test_bar(): > assert 1 > ''') > params = ('--doctest-modules',) if enable_doctest else () > passes = 3 if enable_doctest else 2 > result = testdir.runpytest(*params) >> result.stdout.fnmatch_lines(['*=== %d passed in *' % passes]) >E Failed: nomatch: '*=== 2 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes5, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 2 items' >E and: u'' >E and: u'test_1.py ..' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 2 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 2 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:681: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes5, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 2 items > >test_1.py .. > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 2 passed, 3 pytest-warnings in 0.01 seconds ================== >_________ TestDoctestAutoUseFixtures.test_fixture_scopes[False-class] __________ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebd296950> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes6')> >scope = 'class', enable_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('enable_doctest', [True, False]) > def test_fixture_scopes(self, testdir, scope, enable_doctest): > """Test that auto-use fixtures work properly with doctest modules. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope)) > testdir.makepyfile(test_1=''' > def test_foo(): > """ > >>> getfixture('auto') + 1 > 100 > """ > def test_bar(): > assert 1 > ''') > params = ('--doctest-modules',) if enable_doctest else () > passes = 3 if enable_doctest else 2 > result = testdir.runpytest(*params) >> result.stdout.fnmatch_lines(['*=== %d passed in *' % passes]) >E Failed: nomatch: '*=== 2 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes6, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 2 items' >E and: u'' >E and: u'test_1.py ..' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 2 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 2 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:681: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes6, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 2 items > >test_1.py .. > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 2 passed, 3 pytest-warnings in 0.01 seconds ================== >________ TestDoctestAutoUseFixtures.test_fixture_scopes[False-function] ________ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebd72e7a0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes7')> >scope = 'function', enable_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('enable_doctest', [True, False]) > def test_fixture_scopes(self, testdir, scope, enable_doctest): > """Test that auto-use fixtures work properly with doctest modules. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope)) > testdir.makepyfile(test_1=''' > def test_foo(): > """ > >>> getfixture('auto') + 1 > 100 > """ > def test_bar(): > assert 1 > ''') > params = ('--doctest-modules',) if enable_doctest else () > passes = 3 if enable_doctest else 2 > result = testdir.runpytest(*params) >> result.stdout.fnmatch_lines(['*=== %d passed in *' % passes]) >E Failed: nomatch: '*=== 2 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes7, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 2 items' >E and: u'' >E and: u'test_1.py ..' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 2 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 2 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:681: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_scopes7, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 2 items > >test_1.py .. > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 2 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-True-module] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc66b9e0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes0')> >scope = 'module', autouse = True, use_fixture_in_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-True-session] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebd40b5f0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes1')> >scope = 'session', autouse = True, use_fixture_in_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes1, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes1, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-True-class] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebde4d320> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes2')> >scope = 'class', autouse = True, use_fixture_in_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes2, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes2, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-True-function] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebde64b90> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes3')> >scope = 'function', autouse = True, use_fixture_in_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes3, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes3, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-False-module] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebd52aa70> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes4')> >scope = 'module', autouse = False, use_fixture_in_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes4, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes4, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-False-session] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebdef6830> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes5')> >scope = 'session', autouse = False, use_fixture_in_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes5, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes5, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-False-class] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc8ae7a0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes6')> >scope = 'class', autouse = False, use_fixture_in_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes6, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes6, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-False-function] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebdcea050> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes7')> >scope = 'function', autouse = False, use_fixture_in_doctest = True > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes7, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes7, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-True-module] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebdece830> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes8')> >scope = 'module', autouse = True, use_fixture_in_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes8, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes8, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-True-session] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc6ebe60> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes9')> >scope = 'session', autouse = True, use_fixture_in_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes9, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes9, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-True-class] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebd486c68> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes10')> >scope = 'class', autouse = True, use_fixture_in_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes10, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes10, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-True-function] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebd5ec998> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes11')> >scope = 'function', autouse = True, use_fixture_in_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes11, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes11, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-False-module] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc8f7098> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes12')> >scope = 'module', autouse = False, use_fixture_in_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes12, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes12, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-False-session] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc8b9170> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes13')> >scope = 'session', autouse = False, use_fixture_in_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes13, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes13, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-False-class] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc5dae60> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes14')> >scope = 'class', autouse = False, use_fixture_in_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes14, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes14, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== > TestDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-False-function] > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc770320> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes15')> >scope = 'function', autouse = False, use_fixture_in_doctest = False > > @pytest.mark.parametrize('scope', SCOPES) > @pytest.mark.parametrize('autouse', [True, False]) > @pytest.mark.parametrize('use_fixture_in_doctest', [True, False]) > def test_fixture_module_doctest_scopes(self, testdir, scope, autouse, > use_fixture_in_doctest): > """Test that auto-use fixtures work properly with doctest files. > See #1057 and #1100. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse={autouse}, scope="{scope}") > def auto(request): > return 99 > '''.format(scope=scope, autouse=autouse)) > if use_fixture_in_doctest: > testdir.maketxtfile(test_doc=""" > >>> getfixture('auto') > 99 > """) > else: > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes15, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:710: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_module_doctest_scopes15, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== >_____ TestDoctestAutoUseFixtures.test_auto_use_request_attributes[module] ______ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc32aa28> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes0')> >scope = 'module' > > @pytest.mark.parametrize('scope', SCOPES) > def test_auto_use_request_attributes(self, testdir, scope): > """Check that all attributes of a request in an autouse fixture > behave as expected when requested for a doctest item. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > if "{scope}" == 'module': > assert request.module is None > if "{scope}" == 'class': > assert request.cls is None > if "{scope}" == 'function': > assert request.function is None > return 99 > '''.format(scope=scope)) > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:736: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== >_____ TestDoctestAutoUseFixtures.test_auto_use_request_attributes[session] _____ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc7f0f80> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes1')> >scope = 'session' > > @pytest.mark.parametrize('scope', SCOPES) > def test_auto_use_request_attributes(self, testdir, scope): > """Check that all attributes of a request in an autouse fixture > behave as expected when requested for a doctest item. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > if "{scope}" == 'module': > assert request.module is None > if "{scope}" == 'class': > assert request.cls is None > if "{scope}" == 'function': > assert request.function is None > return 99 > '''.format(scope=scope)) > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes1, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:736: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes1, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== >______ TestDoctestAutoUseFixtures.test_auto_use_request_attributes[class] ______ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebd4253b0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes2')> >scope = 'class' > > @pytest.mark.parametrize('scope', SCOPES) > def test_auto_use_request_attributes(self, testdir, scope): > """Check that all attributes of a request in an autouse fixture > behave as expected when requested for a doctest item. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > if "{scope}" == 'module': > assert request.module is None > if "{scope}" == 'class': > assert request.cls is None > if "{scope}" == 'function': > assert request.function is None > return 99 > '''.format(scope=scope)) > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes2, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:736: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes2, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== >____ TestDoctestAutoUseFixtures.test_auto_use_request_attributes[function] _____ > >self = <test_doctest.TestDoctestAutoUseFixtures instance at 0x7efebc32fd88> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes3')> >scope = 'function' > > @pytest.mark.parametrize('scope', SCOPES) > def test_auto_use_request_attributes(self, testdir, scope): > """Check that all attributes of a request in an autouse fixture > behave as expected when requested for a doctest item. > """ > testdir.makeconftest(''' > import pytest > > @pytest.fixture(autouse=True, scope="{scope}") > def auto(request): > if "{scope}" == 'module': > assert request.module is None > if "{scope}" == 'class': > assert request.cls is None > if "{scope}" == 'function': > assert request.function is None > return 99 > '''.format(scope=scope)) > testdir.maketxtfile(test_doc=""" > >>> 1 + 1 > 2 > """) > result = testdir.runpytest('--doctest-modules') > assert 'FAILURES' not in str(result.stdout.str()) >> result.stdout.fnmatch_lines(['*=== 1 passed in *']) >E Failed: nomatch: '*=== 1 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes3, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_doc.txt .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 1 passed in *' > >../../../../../work/pytest-3.0.4/testing/test_doctest.py:736: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_auto_use_request_attributes3, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_doc.txt . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 passed, 3 pytest-warnings in 0.01 seconds ================== >__________________________ TestPasteCapture.test_all ___________________________ > >self = <test_pastebin.TestPasteCapture instance at 0x7efebb378b00> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_all0')> >pastebinlist = ['============================= test session starts ==============================\nplatform linux2 -- Python 2.7.12, ...pytest.fixture decorator instead.\n======= 1 failed, 1 passed, 1 skipped, 3 pytest-warnings in 0.01 seconds =======\n'] > > def test_all(self, testdir, pastebinlist): > from _pytest.pytester import LineMatcher > testpath = testdir.makepyfile(""" > import pytest > def test_pass(): > pass > def test_fail(): > assert 0 > def test_skip(): > pytest.skip("") > """) > reprec = testdir.inline_run(testpath, "--pastebin=all", '-v') > assert reprec.countoutcomes() == [1,1,1] > assert len(pastebinlist) == 1 > contents = pastebinlist[0].decode('utf-8') > matcher = LineMatcher(contents.splitlines()) > matcher.fnmatch_lines([ > '*test_pass PASSED*', > '*test_fail FAILED*', > '*test_skip SKIPPED*', >> '*== 1 failed, 1 passed, 1 skipped in *' > ]) >E Failed: nomatch: '*test_pass PASSED*' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 -- /usr/bin/python2.7' >E and: u'cachedir: .cache' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_all0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collecting ... collected 3 items' >E and: u'' >E fnmatch: '*test_pass PASSED*' >E with: u'test_all.py::test_pass PASSED' >E fnmatch: '*test_fail FAILED*' >E with: u'test_all.py::test_fail FAILED' >E fnmatch: '*test_skip SKIPPED*' >E with: u'test_all.py::test_skip SKIPPED' >E nomatch: '*== 1 failed, 1 passed, 1 skipped in *' >E and: u'' >E and: u'=================================== FAILURES ===================================' >E and: u'__________________________________ test_fail ___________________________________' >E and: u'' >E and: u' def test_fail():' >E and: u'> assert 0' >E and: u'E assert 0' >E and: u'' >E and: u'test_all.py:5: AssertionError' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'======= 1 failed, 1 passed, 1 skipped, 3 pytest-warnings in 0.01 seconds =======' >E remains unmatched: '*== 1 failed, 1 passed, 1 skipped in *' > >../../../../../work/pytest-3.0.4/testing/test_pastebin.py:50: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 -- /usr/bin/python2.7 >cachedir: .cache >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_all0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collecting ... collected 3 items > >test_all.py::test_pass PASSED >test_all.py::test_fail FAILED >test_all.py::test_skip SKIPPED > >=================================== FAILURES =================================== >__________________________________ test_fail ___________________________________ > > def test_fail(): >> assert 0 >E assert 0 > >test_all.py:5: AssertionError >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >======= 1 failed, 1 passed, 1 skipped, 3 pytest-warnings in 0.01 seconds ======= >===================== Sending information to Paste Service ===================== >pastebin session-log: None > >__________________ TestPasteCapture.test_non_ascii_paste_text __________________ > >self = <test_pastebin.TestPasteCapture instance at 0x7efebb33f908> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_non_ascii_paste_text0')> > > def test_non_ascii_paste_text(self, testdir): > """Make sure that text which contains non-ascii characters is pasted > correctly. See #1219. > """ > testdir.makepyfile(test_unicode=""" > # encoding: utf-8 > def test(): > assert 'âº' == 1 > """) > result = testdir.runpytest('--pastebin=all') > if sys.version_info[0] == 3: > expected_msg = "*assert 'âº' == 1*" > else: > expected_msg = "*assert '\\xe2\\x98\\xba' == 1*" > result.stdout.fnmatch_lines([ > expected_msg, > "*== 1 failed in *", >> '*Sending information to Paste Service*', > ]) >E Failed: nomatch: "*assert '\\xe2\\x98\\xba' == 1*" >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 -- /usr/bin/python2.7' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_non_ascii_paste_text0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_unicode.py F' >E and: u'' >E and: u'=================================== FAILURES ===================================' >E and: u'_____________________________________ test _____________________________________' >E and: u'' >E and: u' def test():' >E and: u"> assert '\u263a' == 1" >E fnmatch: "*assert '\\xe2\\x98\\xba' == 1*" >E with: u"E assert '\\xe2\\x98\\xba' == 1" >E nomatch: '*== 1 failed in *' >E and: u'' >E and: u'test_unicode.py:3: AssertionError' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 failed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'===================== Sending information to Paste Service =====================' >E and: u'pastebin session-log: https://bpaste.net/show/d03c478be217' >E and: u'' >E and: u'' >E remains unmatched: '*== 1 failed in *' > >../../../../../work/pytest-3.0.4/testing/test_pastebin.py:70: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ==============================\nplatform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 -- /usr/bin/python2.7\nrootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_non_ascii_paste_text0, inifile: \nplugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7\ncollected 1 items\n\ntest_unicode.py F\n\n=================================== FAILURES ===================================\n_____________________________________ test _____________________________________\n\n def test():\n> assert '\u263a' == 1\nE assert '\\xe2\\x98\\xba' == 1\n\ntest_unicode.py:3: AssertionError\n============================ pytest-warning summary ============================\nWI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument\nWC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.\nWC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.\n================= 1 failed, 3 pytest-warnings in 0.01 seconds ==================\n===================== Sending information to Paste Service =====================\npastebin session-log: https://bpaste.net/show/d03c478be217\n >__________ TestDeprecatedCall.test_deprecated_function_already_called __________ > >self = <test_recwarn.TestDeprecatedCall object at 0x7efebc594f50> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_deprecated_function_already_called0')> > > def test_deprecated_function_already_called(self, testdir): > """deprecated_call should be able to catch a call to a deprecated > function even if that function has already been called in the same > module. See #1190. > """ > testdir.makepyfile(""" > import warnings > import pytest > > def deprecated_function(): > warnings.warn("deprecated", DeprecationWarning) > > def test_one(): > deprecated_function() > > def test_two(): > pytest.deprecated_call(deprecated_function) > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines('*=== 2 passed in *===') >E Failed: nomatch: '*=== 2 passed in *===' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_deprecated_function_already_called0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 2 items' >E and: u'' >E and: u'test_deprecated_function_already_called.py ..' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 2 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*=== 2 passed in *===' > >../../../../../work/pytest-3.0.4/testing/test_recwarn.py:156: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_deprecated_function_already_called0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 2 items > >test_deprecated_function_already_called.py .. > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 2 passed, 3 pytest-warnings in 0.01 seconds ================== >__________________________ TestWarns.test_double_test __________________________ > >self = <test_recwarn.TestWarns object at 0x7efea3f6acd0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_double_test0')> > > def test_double_test(self, testdir): > """If a test is run again, the warning should still be raised""" > testdir.makepyfile(''' > import pytest > import warnings > > @pytest.mark.parametrize('run', [1, 2]) > def test(run): > with pytest.warns(RuntimeWarning): > warnings.warn("runtime", RuntimeWarning) > ''') > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['*2 passed in*']) >E Failed: nomatch: '*2 passed in*' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_double_test0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 2 items' >E and: u'' >E and: u'test_double_test.py ..' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 2 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*2 passed in*' > >../../../../../work/pytest-3.0.4/testing/test_recwarn.py:227: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_double_test0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 2 items > >test_double_test.py .. > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 2 passed, 3 pytest-warnings in 0.01 seconds ================== >_________________ TestTerminalFunctional.test_quiet_reporting __________________ > >self = <test_terminal.TestTerminalFunctional instance at 0x7efebc635878> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_quiet_reporting0')> > > def test_quiet_reporting(self, testdir): > p1 = testdir.makepyfile("def test_pass(): pass") > result = testdir.runpytest(p1, '-q') > s = result.stdout.str() > assert 'test session starts' not in s > assert p1.basename not in s >> assert "===" not in s >E assert '===' not in '.\n============================ pytest-warning summary ============================\nWI1 /usr/lib64/python2.7/site-pack... Please remove the prefix and use the @pytest.fixture decorator instead.\n1 passed, 3 pytest-warnings in 0.00 seconds\n' > >../../../../../work/pytest-3.0.4/testing/test_terminal.py:522: AssertionError >----------------------------- Captured stdout call ----------------------------- >. >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >1 passed, 3 pytest-warnings in 0.00 seconds >_______________ TestTerminalFunctional.test_more_quiet_reporting _______________ > >self = <test_terminal.TestTerminalFunctional instance at 0x7efebb355638> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_more_quiet_reporting0')> > > def test_more_quiet_reporting(self, testdir): > p1 = testdir.makepyfile("def test_pass(): pass") > result = testdir.runpytest(p1, '-qq') > s = result.stdout.str() > assert 'test session starts' not in s > assert p1.basename not in s >> assert "===" not in s >E assert '===' not in '.\n============================ pytest-warning summary ============================\nWI1 /usr/lib64/python2.7/site-pack...d and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.\n' > >../../../../../work/pytest-3.0.4/testing/test_terminal.py:531: AssertionError >----------------------------- Captured stdout call ----------------------------- >. >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >_________________ test_terminal_summary_warnings_are_displayed _________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_terminal_summary_warnings_are_displayed0')> > > def test_terminal_summary_warnings_are_displayed(testdir): > """Test that warnings emitted during pytest_terminal_summary are displayed. > (#1305). > """ > testdir.makeconftest(""" > def pytest_terminal_summary(terminalreporter): > config = terminalreporter.config > config.warn('C1', 'internal warning') > """) > result = testdir.runpytest('-rw') > result.stdout.fnmatch_lines([ > '*C1*internal warning', >> '*== 1 pytest-warnings in *', > ]) >E Failed: nomatch: '*C1*internal warning' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_terminal_summary_warnings_are_displayed0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 0 items' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E fnmatch: '*C1*internal warning' >E with: u'WC1 None internal warning' >E nomatch: '*== 1 pytest-warnings in *' >E and: u'====================== 4 pytest-warnings in 0.00 seconds =======================' >E and: u'' >E remains unmatched: '*== 1 pytest-warnings in *' > >../../../../../work/pytest-3.0.4/testing/test_terminal.py:841: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_terminal_summary_warnings_are_displayed0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 0 items > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None internal warning >====================== 4 pytest-warnings in 0.00 seconds ======================= >_______________________________ test_cwd_deleted _______________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_cwd_deleted0')> > > def test_cwd_deleted(testdir): > testdir.makepyfile(""" > def test(tmpdir): > tmpdir.chdir() > tmpdir.remove() > assert False > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['* 1 failed in *']) >E Failed: nomatch: '* 1 failed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_cwd_deleted0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_cwd_deleted.py F' >E and: u'' >E and: u'=================================== FAILURES ===================================' >E and: u'_____________________________________ test _____________________________________' >E and: u'' >E and: u"tmpdir = local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/basetemp/test0')" >E and: u'' >E and: u' def test(tmpdir):' >E and: u' tmpdir.chdir()' >E and: u' tmpdir.remove()' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_cwd_deleted0/test_cwd_deleted.py:4: AssertionError' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 failed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '* 1 failed in *' > >../../../../../work/pytest-3.0.4/testing/code/test_excinfo.py:1121: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_cwd_deleted0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_cwd_deleted.py F > >=================================== FAILURES =================================== >_____________________________________ test _____________________________________ > >tmpdir = local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/basetemp/test0') > > def test(tmpdir): > tmpdir.chdir() > tmpdir.remove() >> assert False >E assert False > >/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_cwd_deleted0/test_cwd_deleted.py:4: AssertionError >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 failed, 3 pytest-warnings in 0.01 seconds ================== >_____________________ TestFunction.test_parametrize_skipif _____________________ > >self = <collect.TestFunction instance at 0x7efebc686a28> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_skipif0')> > > def test_parametrize_skipif(self, testdir): > testdir.makepyfile(""" > import pytest > > m = pytest.mark.skipif('True') > > @pytest.mark.parametrize('x', [0, 1, m(2)]) > def test_skip_if(x): > assert x < 2 > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines('* 2 passed, 1 skipped in *') >E Failed: nomatch: '* 2 passed, 1 skipped in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_skipif0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_parametrize_skipif.py ..s' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'============ 2 passed, 1 skipped, 3 pytest-warnings in 0.01 seconds ============' >E and: u'' >E remains unmatched: '* 2 passed, 1 skipped in *' > >../../../../../work/pytest-3.0.4/testing/python/collect.py:603: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_skipif0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_parametrize_skipif.py ..s > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >============ 2 passed, 1 skipped, 3 pytest-warnings in 0.01 seconds ============ >______________________ TestFunction.test_parametrize_skip ______________________ > >self = <collect.TestFunction instance at 0x7efebe4057e8> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_skip0')> > > def test_parametrize_skip(self, testdir): > testdir.makepyfile(""" > import pytest > > m = pytest.mark.skip('') > > @pytest.mark.parametrize('x', [0, 1, m(2)]) > def test_skip(x): > assert x < 2 > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines('* 2 passed, 1 skipped in *') >E Failed: nomatch: '* 2 passed, 1 skipped in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_skip0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_parametrize_skip.py ..s' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'============ 2 passed, 1 skipped, 3 pytest-warnings in 0.01 seconds ============' >E and: u'' >E remains unmatched: '* 2 passed, 1 skipped in *' > >../../../../../work/pytest-3.0.4/testing/python/collect.py:616: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_skip0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_parametrize_skip.py ..s > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >============ 2 passed, 1 skipped, 3 pytest-warnings in 0.01 seconds ============ >_________________ TestFunction.test_parametrize_skipif_no_skip _________________ > >self = <collect.TestFunction instance at 0x7efebd809170> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_skipif_no_skip0')> > > def test_parametrize_skipif_no_skip(self, testdir): > testdir.makepyfile(""" > import pytest > > m = pytest.mark.skipif('False') > > @pytest.mark.parametrize('x', [0, 1, m(2)]) > def test_skipif_no_skip(x): > assert x < 2 > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines('* 1 failed, 2 passed in *') >E Failed: nomatch: '* 1 failed, 2 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_skipif_no_skip0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_parametrize_skipif_no_skip.py ..F' >E and: u'' >E and: u'=================================== FAILURES ===================================' >E and: u'____________________________ test_skipif_no_skip[2] ____________________________' >E and: u'' >E and: u'x = 2' >E and: u'' >E and: u" @pytest.mark.parametrize('x', [0, 1, m(2)])" >E and: u' def test_skipif_no_skip(x):' >E and: u'> assert x < 2' >E and: u'E assert 2 < 2' >E and: u'' >E and: u'test_parametrize_skipif_no_skip.py:7: AssertionError' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'============ 1 failed, 2 passed, 3 pytest-warnings in 0.01 seconds =============' >E and: u'' >E remains unmatched: '* 1 failed, 2 passed in *' > >../../../../../work/pytest-3.0.4/testing/python/collect.py:629: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_skipif_no_skip0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_parametrize_skipif_no_skip.py ..F > >=================================== FAILURES =================================== >____________________________ test_skipif_no_skip[2] ____________________________ > >x = 2 > > @pytest.mark.parametrize('x', [0, 1, m(2)]) > def test_skipif_no_skip(x): >> assert x < 2 >E assert 2 < 2 > >test_parametrize_skipif_no_skip.py:7: AssertionError >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >============ 1 failed, 2 passed, 3 pytest-warnings in 0.01 seconds ============= >_____________________ TestFunction.test_parametrize_xfail ______________________ > >self = <collect.TestFunction instance at 0x7efebc803128> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_xfail0')> > > def test_parametrize_xfail(self, testdir): > testdir.makepyfile(""" > import pytest > > m = pytest.mark.xfail('True') > > @pytest.mark.parametrize('x', [0, 1, m(2)]) > def test_xfail(x): > assert x < 2 > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines('* 2 passed, 1 xfailed in *') >E Failed: nomatch: '* 2 passed, 1 xfailed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_xfail0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_parametrize_xfail.py ..x' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'============ 2 passed, 1 xfailed, 3 pytest-warnings in 0.01 seconds ============' >E and: u'' >E remains unmatched: '* 2 passed, 1 xfailed in *' > >../../../../../work/pytest-3.0.4/testing/python/collect.py:642: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_xfail0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_parametrize_xfail.py ..x > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >============ 2 passed, 1 xfailed, 3 pytest-warnings in 0.01 seconds ============ >_____________________ TestFunction.test_parametrize_passed _____________________ > >self = <collect.TestFunction instance at 0x7efea3d970e0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_passed0')> > > def test_parametrize_passed(self, testdir): > testdir.makepyfile(""" > import pytest > > m = pytest.mark.xfail('True') > > @pytest.mark.parametrize('x', [0, 1, m(2)]) > def test_xfail(x): > pass > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines('* 2 passed, 1 xpassed in *') >E Failed: nomatch: '* 2 passed, 1 xpassed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_passed0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_parametrize_passed.py ..X' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'============ 2 passed, 1 xpassed, 3 pytest-warnings in 0.01 seconds ============' >E and: u'' >E remains unmatched: '* 2 passed, 1 xpassed in *' > >../../../../../work/pytest-3.0.4/testing/python/collect.py:655: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_passed0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_parametrize_passed.py ..X > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >============ 2 passed, 1 xpassed, 3 pytest-warnings in 0.01 seconds ============ >__________________ TestFunction.test_parametrize_xfail_passed __________________ > >self = <collect.TestFunction instance at 0x7efebc8c2950> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_xfail_passed0')> > > def test_parametrize_xfail_passed(self, testdir): > testdir.makepyfile(""" > import pytest > > m = pytest.mark.xfail('False') > > @pytest.mark.parametrize('x', [0, 1, m(2)]) > def test_passed(x): > pass > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines('* 3 passed in *') >E Failed: nomatch: '* 3 passed in *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_xfail_passed0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_parametrize_xfail_passed.py ...' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 3 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '* 3 passed in *' > >../../../../../work/pytest-3.0.4/testing/python/collect.py:668: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_xfail_passed0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_parametrize_xfail_passed.py ... > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 3 passed, 3 pytest-warnings in 0.01 seconds ================== >___________________ test_dont_collect_non_function_callable ____________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_dont_collect_non_function_callable0')> > > def test_dont_collect_non_function_callable(testdir): > """Test for issue https://github.com/pytest-dev/pytest/issues/331 > > In this case an INTERNALERROR occurred trying to report the failure of > a test like this one because py test failed to get the source lines. > """ > testdir.makepyfile(""" > class Oh(object): > def __call__(self): > pass > > test_a = Oh() > > def test_real(): > pass > """) > result = testdir.runpytest('-rw') > result.stdout.fnmatch_lines([ > '*collected 1 item*', > 'WC2 *', >> '*1 passed, 1 pytest-warnings in *', > ]) >E Failed: nomatch: '*collected 1 item*' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_dont_collect_non_function_callable0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E fnmatch: '*collected 1 item*' >E with: u'collected 1 items' >E nomatch: 'WC2 *' >E and: u'' >E and: u'test_dont_collect_non_function_callable.py .' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E fnmatch: 'WC2 *' >E with: u"WC2 /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_dont_collect_non_function_callable0/test_dont_collect_non_function_callable.py cannot collect 'test_a' because it is not a function." >E nomatch: '*1 passed, 1 pytest-warnings in *' >E and: u'================= 1 passed, 4 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '*1 passed, 1 pytest-warnings in *' > >../../../../../work/pytest-3.0.4/testing/python/collect.py:1229: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_dont_collect_non_function_callable0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_dont_collect_non_function_callable.py . > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC2 /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_dont_collect_non_function_callable0/test_dont_collect_non_function_callable.py cannot collect 'test_a' because it is not a function. >================= 1 passed, 4 pytest-warnings in 0.01 seconds ================== >__________ TestMetafuncFunctional.test_fixture_parametrized_empty_ids __________ > >self = <metafunc.TestMetafuncFunctional instance at 0x7efea35da290> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_parametrized_empty_ids0')> > > def test_fixture_parametrized_empty_ids(self, testdir): > """Fixtures parametrized with empty ids cause an internal error (#1849).""" > testdir.makepyfile(''' > import pytest > > @pytest.fixture(scope="module", ids=[], params=[]) > def temp(request): > return request.param > > def test_temp(temp): > pass > ''') > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['* 1 skipped *']) >E Failed: nomatch: '* 1 skipped *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_parametrized_empty_ids0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_fixture_parametrized_empty_ids.py s' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 skipped, 3 pytest-warnings in 0.01 seconds =================' >E and: u'' >E remains unmatched: '* 1 skipped *' > >../../../../../work/pytest-3.0.4/testing/python/metafunc.py:921: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_fixture_parametrized_empty_ids0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_fixture_parametrized_empty_ids.py s > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 skipped, 3 pytest-warnings in 0.01 seconds ================= >______________ TestMetafuncFunctional.test_parametrized_empty_ids ______________ > >self = <metafunc.TestMetafuncFunctional instance at 0x7efea3c99680> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrized_empty_ids0')> > > def test_parametrized_empty_ids(self, testdir): > """Tests parametrized with empty ids cause an internal error (#1849).""" > testdir.makepyfile(''' > import pytest > > @pytest.mark.parametrize('temp', [], ids=list()) > def test_temp(temp): > pass > ''') > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['* 1 skipped *']) >E Failed: nomatch: '* 1 skipped *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrized_empty_ids0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 1 items' >E and: u'' >E and: u'test_parametrized_empty_ids.py s' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 1 skipped, 3 pytest-warnings in 0.00 seconds =================' >E and: u'' >E remains unmatched: '* 1 skipped *' > >../../../../../work/pytest-3.0.4/testing/python/metafunc.py:933: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrized_empty_ids0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 1 items > >test_parametrized_empty_ids.py s > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 1 skipped, 3 pytest-warnings in 0.00 seconds ================= >____________ TestMetafuncFunctionalAuto.test_parametrize_auto_scope ____________ > >self = <metafunc.TestMetafuncFunctionalAuto instance at 0x7efebc756908> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_auto_scope0')> > > def test_parametrize_auto_scope(self, testdir): > testdir.makepyfile(''' > import pytest > > @pytest.fixture(scope='session', autouse=True) > def fixture(): > return 1 > > @pytest.mark.parametrize('animal', ["dog", "cat"]) > def test_1(animal): > assert animal in ('dog', 'cat') > > @pytest.mark.parametrize('animal', ['fish']) > def test_2(animal): > assert animal == 'fish' > > ''') > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['* 3 passed *']) >E Failed: nomatch: '* 3 passed *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_auto_scope0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_parametrize_auto_scope.py ...' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 3 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '* 3 passed *' > >../../../../../work/pytest-3.0.4/testing/python/metafunc.py:1091: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_auto_scope0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_parametrize_auto_scope.py ... > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 3 passed, 3 pytest-warnings in 0.01 seconds ================== >_______ TestMetafuncFunctionalAuto.test_parametrize_auto_scope_indirect ________ > >self = <metafunc.TestMetafuncFunctionalAuto instance at 0x7efebd4eb290> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_auto_scope_indirect0')> > > def test_parametrize_auto_scope_indirect(self, testdir): > testdir.makepyfile(''' > import pytest > > @pytest.fixture(scope='session') > def echo(request): > return request.param > > @pytest.mark.parametrize('animal, echo', [("dog", 1), ("cat", 2)], indirect=['echo']) > def test_1(animal, echo): > assert animal in ('dog', 'cat') > assert echo in (1, 2, 3) > > @pytest.mark.parametrize('animal, echo', [('fish', 3)], indirect=['echo']) > def test_2(animal, echo): > assert animal == 'fish' > assert echo in (1, 2, 3) > ''') > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['* 3 passed *']) >E Failed: nomatch: '* 3 passed *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_auto_scope_indirect0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_parametrize_auto_scope_indirect.py ...' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 3 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '* 3 passed *' > >../../../../../work/pytest-3.0.4/testing/python/metafunc.py:1112: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_auto_scope_indirect0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_parametrize_auto_scope_indirect.py ... > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 3 passed, 3 pytest-warnings in 0.01 seconds ================== >___ TestMetafuncFunctionalAuto.test_parametrize_auto_scope_override_fixture ____ > >self = <metafunc.TestMetafuncFunctionalAuto instance at 0x7efea3fb96c8> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_auto_scope_override_fixture0')> > > def test_parametrize_auto_scope_override_fixture(self, testdir): > testdir.makepyfile(''' > import pytest > > @pytest.fixture(scope='session', autouse=True) > def animal(): > return 'fox' > > @pytest.mark.parametrize('animal', ["dog", "cat"]) > def test_1(animal): > assert animal in ('dog', 'cat') > ''') > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['* 2 passed *']) >E Failed: nomatch: '* 2 passed *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_auto_scope_override_fixture0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 2 items' >E and: u'' >E and: u'test_parametrize_auto_scope_override_fixture.py ..' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 2 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '* 2 passed *' > >../../../../../work/pytest-3.0.4/testing/python/metafunc.py:1127: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_auto_scope_override_fixture0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 2 items > >test_parametrize_auto_scope_override_fixture.py .. > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 2 passed, 3 pytest-warnings in 0.01 seconds ================== >__________ TestMetafuncFunctionalAuto.test_parametrize_all_indirects ___________ > >self = <metafunc.TestMetafuncFunctionalAuto instance at 0x7efea3f6bea8> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_all_indirects0')> > > def test_parametrize_all_indirects(self, testdir): > testdir.makepyfile(''' > import pytest > > @pytest.fixture() > def animal(request): > return request.param > > @pytest.fixture(scope='session') > def echo(request): > return request.param > > @pytest.mark.parametrize('animal, echo', [("dog", 1), ("cat", 2)], indirect=True) > def test_1(animal, echo): > assert animal in ('dog', 'cat') > assert echo in (1, 2, 3) > > @pytest.mark.parametrize('animal, echo', [("fish", 3)], indirect=True) > def test_2(animal, echo): > assert animal == 'fish' > assert echo in (1, 2, 3) > ''') > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['* 3 passed *']) >E Failed: nomatch: '* 3 passed *' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_all_indirects0, inifile: ' >E and: u'plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7' >E and: u'collected 3 items' >E and: u'' >E and: u'test_parametrize_all_indirects.py ...' >E and: u'' >E and: u'============================ pytest-warning summary ============================' >E and: u"WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================= 3 passed, 3 pytest-warnings in 0.01 seconds ==================' >E and: u'' >E remains unmatched: '* 3 passed *' > >../../../../../work/pytest-3.0.4/testing/python/metafunc.py:1152: Failed >----------------------------- Captured stdout call ----------------------------- >============================= test session starts ============================== >platform linux2 -- Python 2.7.12, pytest-3.0.4, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.0.4/temp/pytest-of-portage/pytest-0/testdir/test_parametrize_all_indirects0, inifile: >plugins: hypothesis-3.6.0, xdist-1.15.0, capturelog-0.7 >collected 3 items > >test_parametrize_all_indirects.py ... > >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================= 3 passed, 3 pytest-warnings in 0.01 seconds ================== >============================ pytest-warning summary ============================ >WI1 /usr/lib64/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > 56 failed, 1616 passed, 40 skipped, 13 xfailed, 3 pytest-warnings in 115.40 seconds > * ERROR: dev-python/pytest-3.0.4::gentoo failed (test phase): > * tests failed with python2.7 > * > * Call stack: > * ebuild.sh, line 115: Called src_test > * environment, line 2641: Called distutils-r1_src_test > * environment, line 825: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 316: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2144: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1448: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1446: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 516: Called distutils-r1_run_phase 'python_test' > * environment, line 757: Called python_test > * environment, line 2519: Called die > * The specific snippet of code: > * "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -v testing || die "tests failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/pytest-3.0.4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pytest-3.0.4::gentoo'`. > * The complete build log is located at '/var/tmp/portage/dev-python/pytest-3.0.4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-3.0.4/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4' > * S: '/var/tmp/portage/dev-python/pytest-3.0.4/work/pytest-3.0.4'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 580528
:
431232
| 454794