py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> python -m pytest --doctest-modules ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python cachedir: .tox/py$(PYV)/.pytest_cache rootdir: $(@D) configfile: setup.cfg testpaths: src/chameleon collecting ... collected 252 items src/chameleon/compiler.py::chameleon.compiler.ExpressionEngine PASSED src/chameleon/compiler.py::chameleon.compiler.ExpressionEvaluator PASSED src/chameleon/compiler.py::chameleon.compiler.NameTransform PASSED src/chameleon/exc.py::chameleon.exc.TemplateError PASSED src/chameleon/exc.py::chameleon.exc.compute_source_marker PASSED src/chameleon/tal.py::chameleon.tal.RepeatDict PASSED src/chameleon/tal.py::chameleon.tal.RepeatItem._letter PASSED src/chameleon/tal.py::chameleon.tal.parse_defines PASSED src/chameleon/tales.py::chameleon.tales.ExistsExpr PASSED src/chameleon/tales.py::chameleon.tales.IdentityExpr PASSED src/chameleon/tales.py::chameleon.tales.NotExpr PASSED src/chameleon/tales.py::chameleon.tales.PythonExpr PASSED src/chameleon/tales.py::chameleon.tales.StringExpr PASSED src/chameleon/tales.py::chameleon.tales.StructureExpr PASSED src/chameleon/tales.py::chameleon.tales.TalesExpr PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_bytes_checked_None PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_bytes_checked_default PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_bytes_checked_false PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_bytes_checked_true PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_bytes_content_type PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_bytes_encoding PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_str_checked_None PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_str_checked_default PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_str_checked_false PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_str_checked_true PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_str_content_type PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLTestCase::test_str_encoding PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLWithEncodingTestCase::test_bytes_encoding PASSED src/chameleon/tests/test_bools_plus_sniffing.py::XMLWithEncodingTestCase::test_str_encoding PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_bytes_checked_None PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_bytes_checked_default PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_bytes_checked_false PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_bytes_checked_true PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_bytes_content_type PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_bytes_encoding PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_str_checked_None PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_str_checked_default PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_str_checked_false PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_str_checked_true PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_str_content_type PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5TestCase::test_str_encoding PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5WithContentTypeAndEncodingTestCase::test_bytes_content_type PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5WithContentTypeAndEncodingTestCase::test_bytes_encoding PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5WithContentTypeAndEncodingTestCase::test_str_content_type PASSED src/chameleon/tests/test_bools_plus_sniffing.py::HTML5WithContentTypeAndEncodingTestCase::test_str_encoding PASSED src/chameleon/tests/test_exc.py::TestTemplateError::test_keep_token_location_info PASSED src/chameleon/tests/test_exc.py::TestTemplateError::test_umlaut_exc_to_string PASSED src/chameleon/tests/test_imports.py::TestImports::test_pagetemplates PASSED src/chameleon/tests/test_imports.py::TestImports::test_pagetexttemplates PASSED src/chameleon/tests/test_imports.py::TestImports::test_exceptions PASSED src/chameleon/tests/test_imports.py::TestImports::test_compiler_utils PASSED src/chameleon/tests/test_loader.py::LoadPageTests::test_consecutive_loads PASSED src/chameleon/tests/test_loader.py::LoadPageTests::test_load_abs PASSED src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg PASSED src/chameleon/tests/test_loader.py::LoadPageTests::test_load_relative PASSED src/chameleon/tests/test_loader.py::LoadPageTests::test_load_relative_badpath_in_searchpath PASSED src/chameleon/tests/test_loader.py::LoadPageTests::test_load_relative_default_extension PASSED src/chameleon/tests/test_loader.py::LoadPageTests::test_load_wheel PASSED src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_consecutive_loads PASSED src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_load_abs PASSED src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_load_egg PASSED src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_load_relative PASSED src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_load_relative_badpath_in_searchpath PASSED src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_load_relative_default_extension PASSED src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_load_wheel PASSED src/chameleon/tests/test_loader.py::ModuleLoadTests::test_build PASSED src/chameleon/tests/test_loader.py::ZPTLoadTests::test_load_getitem_gets_xml_file PASSED src/chameleon/tests/test_loader.py::ZPTLoadTests::test_load_text PASSED src/chameleon/tests/test_loader.py::ZPTLoadTests::test_load_xml PASSED src/chameleon/tests/test_parser.py::ParserTest::test_comment_double_hyphen_parsing PASSED src/chameleon/tests/test_parser.py::ParserTest::test_sample_files PASSED src/chameleon/tests/test_sniffing.py::TypeSniffingTestCase::test_html_default_encoding PASSED src/chameleon/tests/test_sniffing.py::TypeSniffingTestCase::test_html_encoding_by_meta PASSED src/chameleon/tests/test_sniffing.py::TypeSniffingTestCase::test_xhtml PASSED src/chameleon/tests/test_sniffing.py::TypeSniffingTestCase::test_xml_encoding PASSED src/chameleon/tests/test_templates.py::TestTemplateFile::test_cook_check PASSED src/chameleon/tests/test_templates.py::TestTemplateFile::test_auto_reload PASSED src/chameleon/tests/test_templates.py::TestTemplateFile::test_relative_is_expanded_to_cwd PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_syntax_error_in_strict_mode PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_syntax_error_in_non_strict_mode PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_exists_error_leak PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_sys_exc_info_is_clear_after_pipe PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_render_macro_include_subtemplate_containing_error PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_render_error_macro_include PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_errors[-dummy] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_errors[-foo] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_errors[-key,value] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_errors[

\n \n

-repeat] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_errors[\n \n -not_in_translation] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_encoded PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_utf8_encoded PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_recursion_error PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_unicode_decode_error PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_package_name_cook_check PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_custom_encoding_for_str_or_bytes_in_content PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_custom_encoding_for_str_or_bytes_in_attributes PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_null_translate_function PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_on_error_handler PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_object_substitution_coerce_to_str PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_repr PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_underscore_variable PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_trim_attribute_space PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_exception PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_create_formatted_exception PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_create_formatted_exception_no_subclass PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_error_handler_makes_safe_copy PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_double_underscore_variable PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_disable_comment_interpolation PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_compiler_internals_are_disallowed PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_simple_translate_mapping PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_translate_is_not_an_internal PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_default_marker PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_boolean_attributes PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_default_debug_flag PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_debug_flag_on_string PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_debug_flag_on_file PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_tag_mismatch PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_f_strings PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_windows_line_endings PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_digest PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/001-variable-scope.pt-outputs/001.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/002-repeat-scope.pt-outputs/002.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/003-content.pt-outputs/003.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/004-attributes.pt-outputs/004.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/005-default.pt-outputs/005.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/006-attribute-interpolation.pt-outputs/006.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/007-content-interpolation.pt-outputs/007.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/008-builtins.pt-outputs/008.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/009-literals.pt-outputs/009.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/010-structure.pt-outputs/010.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/011-messages.pt-outputs/011-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/011-messages.pt-outputs/011.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/012-translation.pt-outputs/012-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/012-translation.pt-outputs/012.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/013-repeat-nested.pt-outputs/013.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/014-repeat-nested-similar.pt-outputs/014.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/015-translation-nested.pt-outputs/015.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/015-translation-nested.pt-outputs/015-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/016-explicit-translation.pt-outputs/016.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/016-explicit-translation.pt-outputs/016-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/017-omit-tag.pt-outputs/017.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/018-translation-nested-dynamic.pt-outputs/018.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/018-translation-nested-dynamic.pt-outputs/018-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/019-replace.pt-outputs/019.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/020-on-error.pt-outputs/020.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/021-translation-domain.pt-outputs/021.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/021-translation-domain.pt-outputs/021-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/022-switch.pt-outputs/022.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/023-condition.pt-outputs/023.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/024-namespace-elements.pt-outputs/024.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/025-repeat-whitespace.pt-outputs/025.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/026-repeat-variable.pt-outputs/026.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/027-attribute-replacement.pt-outputs/027.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/028-attribute-toggle.pt-outputs/028.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/029-attribute-ordering.pt-outputs/029.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/030-repeat-tuples.pt-outputs/030.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/031-namespace-with-tal.pt-outputs/031.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/032-master-template.pt-outputs/032.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/033-use-macro-trivial.pt-outputs/033.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/034-use-template-as-macro.pt-outputs/034.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/035-use-macro-with-fill-slot.pt-outputs/035.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/036-use-macro-inherits-dynamic-scope.pt-outputs/036.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/037-use-macro-local-variable-scope.pt-outputs/037.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/038-use-macro-globals.pt-outputs/038.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/039-globals.pt-outputs/039.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/040-macro-using-template-symbol.pt-outputs/040.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/041-translate-nested-names.pt-outputs/041.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/042-use-macro-fill-footer.pt-outputs/042.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/043-macro-nested-dynamic-vars.pt-outputs/043.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/044-tuple-define.pt-outputs/044.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/045-namespaces.pt-outputs/045.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/046-extend-macro.pt-outputs/046.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/047-use-extended-macro.pt-outputs/047.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/048-use-extended-macro-fill-original.pt-outputs/048.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/049-entities-in-attributes.pt-outputs/049.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/050-define-macro-and-use-not-extend.pt-outputs/050.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/051-use-non-extended-macro.pt-outputs/051.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/052-i18n-domain-inside-filled-slot.pt-outputs/052.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/053-special-characters-in-attributes.pt-outputs/053.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/054-import-expression.pt-outputs/054.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/055-attribute-fallback-to-dict-lookup.pt-outputs/055.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/056-comment-attribute.pt-outputs/056.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/057-order.pt-outputs/057.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/058-script.pt-outputs/058.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/059-embedded-javascript.pt-outputs/059.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/060-macro-with-multiple-same-slots.pt-outputs/060.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/061-fill-one-slot-but-two-defined.pt-outputs/061.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/062-comments-and-expressions.pt-outputs/062.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/063-continuation.pt-outputs/063.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/064-tags-and-special-characters.pt-outputs/064.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/065-use-macro-in-fill.pt-outputs/065.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/066-load-expression.pt-outputs/066.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/067-attribute-decode.pt-outputs/067.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/068-less-than-greater-than-in-attributes.pt-outputs/068.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/069-translation-domain-and-macro.pt-outputs/069-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/069-translation-domain-and-macro.pt-outputs/069.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/070-translation-domain-and-use-macro.pt-outputs/070-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/070-translation-domain-and-use-macro.pt-outputs/070.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/071-html-attribute-defaults.pt-outputs/071.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/072-repeat-interpolation.pt-outputs/072.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/073-utf8-encoded.pt-outputs/073.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/074-encoded-template.pt-outputs/074.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/075-nested-macros.pt-outputs/075.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/076-nested-macro-override.pt-outputs/076.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/077-i18n-attributes.pt-outputs/077-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/077-i18n-attributes.pt-outputs/077.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/078-tags-and-newlines.pt-outputs/078.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/079-implicit-i18n.pt-outputs/079.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/079-implicit-i18n.pt-outputs/079-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/080-xmlns-namespace-on-tal.pt-outputs/080.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/081-load-spec.pt-outputs/081.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/082-load-spec-computed.pt-outputs/082.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/083-template-dict-to-macro.pt-outputs/083.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/084-interpolation-in-cdata.pt-outputs/084.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/085-nested-translation.pt-outputs/085.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/085-nested-translation.pt-outputs/085-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/086-self-closing.pt-outputs/086.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/087-code-blocks.pt-outputs/087.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/088-python-newlines.pt-outputs/088.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/089-load-fallback.pt-outputs/089.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/090-tuple-expression.pt-outputs/090.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/091-repeat-none.pt-outputs/091.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/120-translation-context.pt-outputs/120.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/120-translation-context.pt-outputs/120-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/121-translation-comment.pt-outputs/121.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/122-translation-ignore.pt-outputs/122.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/123-html5-data-attributes.pt-outputs/123.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/124-translation-target.pt-outputs/124-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/124-translation-target.pt-outputs/124.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/125-macro-translation-ordering.pt-outputs/125.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/126-define-escaping.pt-outputs/126.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/127-tags-and-attributes-special-chars.pt-outputs/127.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/128-translation-macro-name.pt-outputs/128-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/128-translation-macro-name.pt-outputs/128.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/237-double-define.pt-outputs/237.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/238-macroname.pt-outputs/238.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/greeting.pt-outputs/greeting.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/hello_world.pt-outputs/hello_world.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/multinode-implicit-i18n.pt-outputs/multinode.pt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_pt_files[inputs/multinode-implicit-i18n.pt-outputs/multinode-en.pt-en] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_txt_files[inputs/001-interpolation.txt-outputs/001.txt-None] PASSED src/chameleon/tests/test_templates.py::TestZopePageTemplates::test_txt_files[inputs/hello_world.txt-outputs/hello_world.txt-None] PASSED src/chameleon/tests/test_tokenizer.py::TokenizerTest::test_sample_files PASSED src/chameleon/tests/test_tokenizer.py::TokenizerTest::test_token PASSED src/chameleon/tests/test_utils.py::ScopeTestCase::test_items PASSED src/chameleon/tests/test_utils.py::ScopeTestCase::test_keys PASSED src/chameleon/tests/test_utils.py::ScopeTestCase::test_values PASSED src/chameleon/utils.py::chameleon.utils.Markup PASSED src/chameleon/utils.py::chameleon.utils.Scope PASSED src/chameleon/utils.py::chameleon.utils.decode_htmlentities PASSED src/chameleon/utils.py::chameleon.utils.join PASSED src/chameleon/utils.py::chameleon.utils.mangle PASSED =============================== warnings summary =============================== src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg $(PYTHON_DIR)/vendor-packages/setuptools/command/bdist_egg.py:103: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import get_build_platform src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('paste')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('flufl')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('repoze')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('repoze.sphinx')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2317: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('repoze')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(parent) src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zc')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) src/chameleon/tests/test_loader.py: 15 warnings $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zope')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg src/chameleon/tests/test_loader.py::LoadPageTests::test_load_wheel src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_load_egg src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_load_wheel ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() src/chameleon/tests/test_loader.py::LoadPageTests::test_load_egg src/chameleon/tests/test_loader.py::LoadPageTests::test_load_wheel src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_load_egg src/chameleon/tests/test_loader.py::ZPTLoadPageTests::test_load_wheel $(PYTHON_DIR)/vendor-packages/setuptools/command/build_py.py:207: _Warning: Package 'chameleon_test_pkg.templates' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'chameleon_test_pkg.templates' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'chameleon_test_pkg.templates' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'chameleon_test_pkg.templates' to be distributed and are already explicitly excluding 'chameleon_test_pkg.templates' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======== 252 passed, 33 warnings ======== py$(PYV): OK congratulations :)