Skip to content

Instantly share code, notes, and snippets.

@sobolevn
Created October 29, 2021 16:51
Show Gist options
  • Save sobolevn/79f1729dcf0b8c4b2a9bcee67027673a to your computer and use it in GitHub Desktop.
Save sobolevn/79f1729dcf0b8c4b2a9bcee67027673a to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" /><title>Cosmic Ray Report</title></head><body><div class="container"><h1><p class="text-dark">Cosmic Ray Report</p></h1></div><div class="container"><div class="mb-1" id="summary_info___accordion"><div class="card"><a data-toggle="collapse" data-target="#summary_info___collapse_1" aria-expanded="true" aria-controls="summary_info___collapse_1" href="#"><div class="card-header" id="summary_info___heading_1"><button class="btn btn-outline-dark"><h4 class="m-0">Summary info</h4></button></div></a><div aria-labelledby="summary_info___heading_1" data-parent="#summary_info___accordion" class="collapse show" id="summary_info___collapse_1"><div class="card-body"><p>Date time: 29/10/2021 18:34:32</p><p>Total jobs: 1577</p><p>Complete: 1577 (100.00%)</p><p>Surviving mutants: 3 (0.19%)</p></div></div></div></div><div class="mb-1" id="job_list___accordion"><div class="card"><a data-toggle="collapse" data-target="#job_list___collapse_1" aria-expanded="false" aria-controls="job_list___collapse_1" href="#"><div class="card-header" id="job_list___heading_1"><button class="btn btn-outline-dark"><h4 class="m-0">Job list</h4></button></div></a><div aria-labelledby="job_list___heading_1" data-parent="#job_list___accordion" class="collapse" id="job_list___collapse_1"><div class="card-body"><div class="text-right mb-1"><div class="mx-1" id="job_item_expand_all"><a href="#" onclick="$('div.job_list___sub_multi_collapse').collapse('show');"><button class="btn btn-outline-dark"><span>Expand All</span></button></a></div><div class="mx-1" id="job_item_collapse_all"><a href="#" onclick="$('div.job_list___sub_multi_collapse').collapse('hide');"><button class="btn btn-outline-dark"><span>Collapse All</span></button></a></div></div><div class="mb-1" id="job_list___sub_accordion_1"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_1_1" aria-expanded="false" aria-controls="job_list___sub_collapse_1_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_1_1"><button class="btn btn-outline-success"><span class="job_id">1 : Job ID 06484b50a6ea4ddf8ace9731948c6dc4</span></button></div></a><div aria-labelledby="job_list___sub_heading_1_1" data-parent="#job_list___sub_accordion_1" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_1_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=388" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (388, 25), end pos: (388, 26)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 0</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -385,7 +385,7 @@
raise TypeError(f"Cannot subclass {self!r}")
def __repr__(self):
- return 'typing.' + self._name
+ return 'typing.' - self._name
def __reduce__(self):
return self._name</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40852æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 3.89 Run tests sequentially
0:00:00 load avg: 3.89 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 10, in &lt;module&gt;
from typing import Any, NoReturn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 2592, in &lt;module&gt;
class TextIO(IO[str]):
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 2609, in TextIO
def errors(self) -&gt; Optional[str]:
~~~~~~~~^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 319, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 410, in __getitem__
return self._getitem(self, parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 535, in Optional
arg = _type_check(parameters, f"{self} requires a single type.")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 388, in __repr__
return 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 1.1 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_2"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_2_1" aria-expanded="false" aria-controls="job_list___sub_collapse_2_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_2_1"><button class="btn btn-outline-success"><span class="job_id">2 : Job ID 4c0d061a625447cd8ff4344fc6dd6da7</span></button></div></a><div aria-labelledby="job_list___sub_heading_2_1" data-parent="#job_list___sub_accordion_2" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_2_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=759" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (759, 22), end pos: (759, 23)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 1</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -756,7 +756,7 @@
prefix = '-'
else:
prefix = '~'
- return prefix + self.__name__
+ return prefix - self.__name__
def __reduce__(self):
return self.__name__</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40856æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 4.22 Run tests sequentially
0:00:00 load avg: 4.22 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ERROR
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... FAIL
test_paramspec (test.test_typing.CollectionsCallableTests) ... ERROR
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ERROR
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ERROR
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ERROR
test_new_repr_bare (test.test_typing.GenericTests) ... ERROR
test_new_repr_complex (test.test_typing.GenericTests) ... ERROR
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ...
ERROR
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ERROR
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ...
ERROR
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ERROR
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ERROR
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... FAIL
test_paramspec (test.test_typing.TypingCallableTests) ... ERROR
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ERROR
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... ok
======================================================================
ERROR: test_concatenate (test.test_typing.CollectionsCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 619, in test_concatenate
self.assertEqual(repr(C1),
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/_collections_abc.py", line 454, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_paramspec (test.test_typing.CollectionsCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 594, in test_paramspec
self.assertEqual(repr(C1), f"{fullname}[~P, ~T]")
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/_collections_abc.py", line 454, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_var_substitution (test.test_typing.CollectionsCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 561, in test_var_substitution
self.assertEqual(repr(C4), f"{fullname}[[int, ~VT], str]")
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/_collections_abc.py", line 456, in __repr__
f'[[{", ".join([_type_repr(a) for a in self.__args__[:-1]])}], '
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/_collections_abc.py", line 456, in &lt;listcomp&gt;
f'[[{", ".join([_type_repr(a) for a in self.__args__[:-1]])}], '
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/_collections_abc.py", line 547, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_all_repr_eq_any (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2073, in test_all_repr_eq_any
self.assertNotEqual(repr(obj), '')
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_new_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1729, in test_new_repr
self.assertEqual(repr(List[T]), 'typing.List[~T]')
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_new_repr_bare (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1748, in test_new_repr_bare
self.assertEqual(repr(Generic[T]), 'typing.Generic[~T]')
^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_new_repr_complex (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1738, in test_new_repr_complex
self.assertEqual(repr(typing.Mapping[T, TS][TS, T]), 'typing.Mapping[~TS, ~T]')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_subclass_special_form (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 57, in testPartExecutor
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 506, in subTest
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2449, in test_subclass_special_form
TypeError, f'^{re.escape(f"Cannot subclass {obj!r}")}$'
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2447, in test_subclass_special_form
with self.subTest(msg=obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 505, in subTest
with self._outcome.testPartExecutor(self._subtest, subTest=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 72, in testPartExecutor
self.result.addSubTest(test_case.test_case, test_case, exc_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 79, in addSubTest
self._write_status(subtest, "ERROR")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 68, in _write_status
self.stream.write(self.getDescription(test))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 51, in getDescription
return str(test)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1397, in __str__
return "{} {}".format(self.test_case, self._subDescription())
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1379, in _subDescription
parts.append("[{}]".format(self._message))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_generic_protocols_repr (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1395, in test_generic_protocols_repr
self.assertTrue(repr(P[T, S]).endswith('P[~T, ~S]'))
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_special_attrs (test.test_typing.SpecialAttrsTests)
----------------------------------------------------------------------
test test_typing failed
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 57, in testPartExecutor
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 506, in subTest
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4979, in test_special_attrs
self.assertEqual(cls.__name__, name, str(cls))
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4978, in test_special_attrs
with self.subTest(cls=cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 505, in subTest
with self._outcome.testPartExecutor(self._subtest, subTest=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 72, in testPartExecutor
self.result.addSubTest(test_case.test_case, test_case, exc_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 79, in addSubTest
self._write_status(subtest, "ERROR")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 68, in _write_status
self.stream.write(self.getDescription(test))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 51, in getDescription
return str(test)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1397, in __str__
return "{} {}".format(self.test_case, self._subDescription())
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1381, in _subDescription
params_desc = ', '.join(
^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1382, in &lt;genexpr&gt;
"{}={!r}".format(k, v)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_repr (test.test_typing.TypeVarTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 212, in test_repr
self.assertEqual(repr(T), '~T')
^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_concatenate (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 619, in test_concatenate
self.assertEqual(repr(C1),
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1164, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_paramspec (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 594, in test_paramspec
self.assertEqual(repr(C1), f"{fullname}[~P, ~T]")
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1164, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_var_substitution (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 561, in test_var_substitution
self.assertEqual(repr(C4), f"{fullname}[[int, ~VT], str]")
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1166, in __repr__
f'[[{", ".join([_type_repr(a) for a in args[:-1]])}], '
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1166, in &lt;listcomp&gt;
f'[[{", ".join([_type_repr(a) for a in args[:-1]])}], '
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix - self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
FAIL: test_errors (test.test_typing.CollectionsCallableTests)
----------------------------------------------------------------------
TypeError: unsupported operand type(s) for -: 'str' and 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 629, in test_errors
with self.assertRaisesRegex(TypeError, "many arguments for"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "many arguments for" does not match "unsupported operand type(s) for -: 'str' and 'str'"
======================================================================
FAIL: test_errors (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
TypeError: unsupported operand type(s) for -: 'str' and 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 629, in test_errors
with self.assertRaisesRegex(TypeError, "many arguments for"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "many arguments for" does not match "unsupported operand type(s) for -: 'str' and 'str'"
----------------------------------------------------------------------
Ran 406 tests in 1.148s
FAILED (failures=2, errors=14, skipped=1)
test_typing failed (14 errors, 2 failures)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.3 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_3"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_3_1" aria-expanded="false" aria-controls="job_list___sub_collapse_3_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_3_1"><button class="btn btn-outline-success"><span class="job_id">3 : Job ID c339a02312674e5f8c8bb89414ef2a42</span></button></div></a><div aria-labelledby="job_list___sub_heading_3_1" data-parent="#job_list___sub_accordion_3" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_3_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=964" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (964, 24), end pos: (964, 25)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 2</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -961,7 +961,7 @@
if self.__origin__ not in bases:
res.append(self.__origin__)
i = bases.index(self)
- for b in bases[i+1:]:
+ for b in bases[i-1:]:
if isinstance(b, _BaseGenericAlias) or issubclass(b, Generic):
break
else:</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40859æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 4.36 Run tests sequentially
0:00:00 load avg: 4.36 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ERROR
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ERROR
test_multiple_bases (test.test_typing.GenericTests) ... FAIL
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_extended_generic_rules_subclassing (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2010, in test_extended_generic_rules_subclassing
self.assertEqual(T1.__parameters__, (T, KT))
^^^^^^^^^^^^^^^^^
AttributeError: type object 'T1' has no attribute '__parameters__'
======================================================================
ERROR: test_multi_subscr_base (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1886, in test_multi_subscr_base
self.assertEqual(C.__parameters__, (V,))
^^^^^^^^^^^^^^^^
AttributeError: type object 'C' has no attribute '__parameters__'
======================================================================
FAIL: test_multiple_bases (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1837, in test_multiple_bases
self.assertEqual(MM2.__bases__, (collections.abc.MutableMapping, Generic))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Tuples differ: (&lt;class 'collections.abc.MutableMapping'&gt;,) != (&lt;class 'collections.abc.MutableMapping'&gt;, &lt;class 'typing.Generic'&gt;)
Second tuple contains 1 additional elements.
First extra element 1:
&lt;class 'typing.Generic'&gt;
- (&lt;class 'collections.abc.MutableMapping'&gt;,)
+ (&lt;class 'collections.abc.MutableMapping'&gt;, &lt;class 'typing.Generic'&gt;)
? +++++++++++++++++++++++++
----------------------------------------------------------------------
Ran 406 tests in 0.924s
FAILED (failures=1, errors=2, skipped=1)
test_typing failed (2 errors, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.0 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_4"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_4_1" aria-expanded="false" aria-controls="job_list___sub_collapse_4_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_4_1"><button class="btn btn-outline-success"><span class="job_id">4 : Job ID 8868bad237ec4a7987b328638e43b416</span></button></div></a><div aria-labelledby="job_list___sub_heading_4_1" data-parent="#job_list___sub_accordion_4" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_4_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1080" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1080, 29), end pos: (1080, 30)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 3</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1077,7 +1077,7 @@
def __repr__(self):
if self._name:
- name = 'typing.' + self._name
+ name = 'typing.' - self._name
else:
name = _type_repr(self.__origin__)
args = ", ".join([_type_repr(a) for a in self.__args__])</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40862æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 4.58 Run tests sequentially
0:00:00 load avg: 4.58 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ERROR
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ERROR
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ERROR
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ERROR
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ERROR
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ERROR
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ERROR
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ERROR
test_special_attrs (test.test_typing.SpecialAttrsTests) ...
ERROR
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ERROR
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ERROR
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... FAIL
test_paramspec (test.test_typing.TypingCallableTests) ... ERROR
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ERROR
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ERROR
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_repr (test.test_typing.AnnotatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4452, in test_repr
repr(Annotated[List[int], 4, 5]),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1616, in __repr__
_type_repr(self.__origin__),
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_forward_repr (test.test_typing.ForwardRefTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2673, in test_forward_repr
self.assertEqual(repr(List['int']), "typing.List[ForwardRef('int')]")
^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_chain_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1720, in test_chain_repr
self.assertTrue(str(Z).endswith(
^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_extended_generic_rules_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1970, in test_extended_generic_rules_repr
self.assertEqual(repr(Union[Tuple, Tuple[int]]).replace('typing.', ''),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1246, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_generic_hashes (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1940, in test_generic_hashes
self.assertTrue(repr(Tuple[A[str]]).endswith('&lt;locals&gt;.A[str]]'))
^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_new_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1729, in test_new_repr
self.assertEqual(repr(List[T]), 'typing.List[~T]')
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_new_repr_complex (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1738, in test_new_repr_complex
self.assertEqual(repr(typing.Mapping[T, TS][TS, T]), 'typing.Mapping[~TS, ~T]')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_repr (test.test_typing.RETests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4418, in test_repr
self.assertEqual(repr(Pattern[str]), 'typing.Pattern[str]')
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_special_attrs (test.test_typing.SpecialAttrsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 57, in testPartExecutor
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 506, in subTest
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4979, in test_special_attrs
self.assertEqual(cls.__name__, name, str(cls))
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4978, in test_special_attrs
with self.subTest(cls=cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 505, in subTest
with self._outcome.testPartExecutor(self._subtest, subTest=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 72, in testPartExecutor
self.result.addSubTest(test_case.test_case, test_case, exc_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 79, in addSubTest
self._write_status(subtest, "ERROR")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 68, in _write_status
self.stream.write(self.getDescription(test))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 51, in getDescription
return str(test)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1397, in __str__
return "{} {}".format(self.test_case, self._subDescription())
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1381, in _subDescription
params_desc = ', '.join(
^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1382, in &lt;genexpr&gt;
"{}={!r}".format(k, v)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_repr (test.test_typing.TupleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 430, in test_repr
self.assertEqual(repr(Tuple[()]), 'typing.Tuple[()]')
^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_concatenate (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 619, in test_concatenate
self.assertEqual(repr(C1),
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1164, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_paramspec (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 594, in test_paramspec
self.assertEqual(repr(C1), f"{fullname}[~P, ~T]")
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1164, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_repr (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 507, in test_repr
self.assertEqual(repr(ctv), f'{fullname}[..., str]')
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1164, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_repr (test.test_typing.UnionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 321, in test_repr
self.assertEqual(repr(u), 'typing.Union[typing.List[int], int]')
^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1246, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
FAIL: test_errors (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
TypeError: unsupported operand type(s) for -: 'str' and 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 629, in test_errors
with self.assertRaisesRegex(TypeError, "many arguments for"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "many arguments for" does not match "unsupported operand type(s) for -: 'str' and 'str'"
----------------------------------------------------------------------
Ran 406 tests in 0.941s
FAILED (failures=1, errors=14, skipped=1)
test_typing failed (14 errors, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.3 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_5"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_5_1" aria-expanded="false" aria-controls="job_list___sub_collapse_5_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_5_1"><button class="btn btn-outline-success"><span class="job_id">5 : Job ID 30cf8830e7a44c6bb52819912fb4e792</span></button></div></a><div aria-labelledby="job_list___sub_heading_5_1" data-parent="#job_list___sub_accordion_5" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_5_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1106" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1106, 28), end pos: (1106, 29)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 4</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1103,7 +1103,7 @@
if Protocol in bases:
return ()
i = bases.index(self)
- for b in bases[i+1:]:
+ for b in bases[i-1:]:
if isinstance(b, _BaseGenericAlias) and b is not self:
return ()
return (self.__origin__,)</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40865æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 4.53 Run tests sequentially
0:00:00 load avg: 4.53 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... FAIL
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
FAIL: test_generic_errors (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1660, in test_generic_errors
with self.assertRaises(TypeError):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: TypeError not raised
----------------------------------------------------------------------
Ran 406 tests in 1.549s
FAILED (failures=1, skipped=1)
test_typing failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.6 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_6"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_6_1" aria-expanded="false" aria-controls="job_list___sub_collapse_6_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_6_1"><button class="btn btn-outline-success"><span class="job_id">6 : Job ID 7ca89f2178e841cea6d57df339e84404</span></button></div></a><div aria-labelledby="job_list___sub_heading_6_1" data-parent="#job_list___sub_accordion_6" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_6_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1141" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1141, 25), end pos: (1141, 26)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 5</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1138,7 +1138,7 @@
name=self._name, inst=self._inst)
def __repr__(self):
- return 'typing.' + self._name
+ return 'typing.' - self._name
def __subclasscheck__(self, cls):
if isinstance(cls, _SpecialGenericAlias):</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40868æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 4.41 Run tests sequentially
0:00:00 load avg: 4.41 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ERROR
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ERROR
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ERROR
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ERROR
test_special_attrs (test.test_typing.SpecialAttrsTests) ...
ERROR
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ERROR
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_all_repr_eq_any (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2073, in test_all_repr_eq_any
self.assertNotEqual(repr(obj), '')
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_extended_generic_rules_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1968, in test_extended_generic_rules_repr
self.assertEqual(repr(Union[Tuple, Callable]).replace('typing.', ''),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1246, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_new_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1728, in test_new_repr
self.assertEqual(repr(List), 'typing.List')
^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_repr (test.test_typing.RETests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4417, in test_repr
self.assertEqual(repr(Pattern), 'typing.Pattern')
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_special_attrs (test.test_typing.SpecialAttrsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 57, in testPartExecutor
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 506, in subTest
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4979, in test_special_attrs
self.assertEqual(cls.__name__, name, str(cls))
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4978, in test_special_attrs
with self.subTest(cls=cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 505, in subTest
with self._outcome.testPartExecutor(self._subtest, subTest=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 72, in testPartExecutor
self.result.addSubTest(test_case.test_case, test_case, exc_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 79, in addSubTest
self._write_status(subtest, "ERROR")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 68, in _write_status
self.stream.write(self.getDescription(test))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 51, in getDescription
return str(test)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1397, in __str__
return "{} {}".format(self.test_case, self._subDescription())
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1381, in _subDescription
params_desc = ', '.join(
^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1382, in &lt;genexpr&gt;
"{}={!r}".format(k, v)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
======================================================================
ERROR: test_repr (test.test_typing.TupleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 429, in test_repr
self.assertEqual(repr(Tuple), 'typing.Tuple')
^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' - self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
----------------------------------------------------------------------
Ran 406 tests in 1.180s
FAILED (errors=6, skipped=1)
test_typing failed (6 errors)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.8 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_7"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_7_1" aria-expanded="false" aria-controls="job_list___sub_collapse_7_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_7_1"><button class="btn btn-outline-success"><span class="job_id">7 : Job ID 6e8b7c82f82f4a9781edc27b6a502e47</span></button></div></a><div aria-labelledby="job_list___sub_heading_7_1" data-parent="#job_list___sub_accordion_7" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_7_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1207" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1207, 22), end pos: (1207, 23)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 6</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1204,7 +1204,7 @@
if not isinstance(args, tuple):
args = (args,)
args = tuple(_type_convert(arg) for arg in args)
- params = args + (result,)
+ params = args - (result,)
return self.copy_with(params)
</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40871æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 4.37 Run tests sequentially
0:00:00 load avg: 4.37 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2976, in &lt;module&gt;
exec(ASYNCIO_TESTS)
^^^^^^^^^^^^^^^^^^^
File "&lt;string&gt;", line 2, in &lt;module&gt;
File "/Users/sobolev/Desktop/cpython/Lib/asyncio/__init__.py", line 8, in &lt;module&gt;
from .base_events import *
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/asyncio/base_events.py", line 45, in &lt;module&gt;
from . import staggered
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/asyncio/staggered.py", line 15, in &lt;module&gt;
coro_fns: typing.Iterable[typing.Callable[[], typing.Awaitable]],
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1195, in __getitem__
return self.__getitem_inner__(params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 319, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1207, in __getitem_inner__
params = args - (result,)
~~~~~^~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 2.4 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_8"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_8_1" aria-expanded="false" aria-controls="job_list___sub_collapse_8_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_8_1"><button class="btn btn-outline-success"><span class="job_id">8 : Job ID 58c14c33fd134ad4b3d3280ab8e82f1c</span></button></div></a><div aria-labelledby="job_list___sub_heading_8_1" data-parent="#job_list___sub_accordion_8" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_8_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1389" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1389, 40), end pos: (1389, 41)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 7</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1386,7 +1386,7 @@
'__subclasshook__', '__weakref__', '__class_getitem__']
# These special attributes will be not collected as protocol members.
-EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS + _SPECIAL_NAMES + ['_MutableMapping__marker']
+EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS - _SPECIAL_NAMES + ['_MutableMapping__marker']
def _get_protocol_attrs(cls):</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40874æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 4.58 Run tests sequentially
0:00:00 load avg: 4.58 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 10, in &lt;module&gt;
from typing import Any, NoReturn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1389, in &lt;module&gt;
EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS - _SPECIAL_NAMES + ['_MutableMapping__marker']
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 2.0 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_9"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_9_1" aria-expanded="false" aria-controls="job_list___sub_collapse_9_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_9_1"><button class="btn btn-outline-success"><span class="job_id">9 : Job ID 1afe25e749554ba49c526969b408d28e</span></button></div></a><div aria-labelledby="job_list___sub_heading_9_1" data-parent="#job_list___sub_accordion_9" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_9_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1389" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1389, 57), end pos: (1389, 58)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 8</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1386,7 +1386,7 @@
'__subclasshook__', '__weakref__', '__class_getitem__']
# These special attributes will be not collected as protocol members.
-EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS + _SPECIAL_NAMES + ['_MutableMapping__marker']
+EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS + _SPECIAL_NAMES - ['_MutableMapping__marker']
def _get_protocol_attrs(cls):</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40877æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 4.94 Run tests sequentially
0:00:00 load avg: 4.94 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 10, in &lt;module&gt;
from typing import Any, NoReturn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1389, in &lt;module&gt;
EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS + _SPECIAL_NAMES - ['_MutableMapping__marker']
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 1.6 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_10"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_10_1" aria-expanded="false" aria-controls="job_list___sub_collapse_10_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_10_1"><button class="btn btn-outline-success"><span class="job_id">10 : Job ID deef055be98846b4962f0f2619b971b8</span></button></div></a><div aria-labelledby="job_list___sub_heading_10_1" data-parent="#job_list___sub_accordion_10" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_10_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1403" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1403, 47), end pos: (1403, 48)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 9</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1400,7 +1400,7 @@
if base.__name__ in ('Protocol', 'Generic'):
continue
annotations = getattr(base, '__annotations__', {})
- for attr in list(base.__dict__.keys()) + list(annotations.keys()):
+ for attr in list(base.__dict__.keys()) - list(annotations.keys()):
if not attr.startswith('_abc_') and attr not in EXCLUDED_ATTRIBUTES:
attrs.add(attr)
return attrs</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40880æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 5.18 Run tests sequentially
0:00:00 load avg: 5.18 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ERROR
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ERROR
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ERROR
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ERROR
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ERROR
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ERROR
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ERROR
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ERROR
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ERROR
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ERROR
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ERROR
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ERROR
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ERROR
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ERROR
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ERROR
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ERROR
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ERROR
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ERROR
test_protocols_support_register (test.test_typing.ProtocolTests) ... ERROR
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ERROR
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ERROR
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ERROR
test_supports_bytes (test.test_typing.ProtocolTests) ... ERROR
test_supports_complex (test.test_typing.ProtocolTests) ... ERROR
test_supports_float (test.test_typing.ProtocolTests) ... ERROR
test_supports_index (test.test_typing.ProtocolTests) ... ERROR
test_supports_int (test.test_typing.ProtocolTests) ... ERROR
test_supports_round (test.test_typing.ProtocolTests) ... ERROR
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... ok
======================================================================
ERROR: test_basic_protocol (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 840, in test_basic_protocol
self.assertIsSubclass(D, P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_bundled_protocol_instance_works (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1574, in test_bundled_protocol_instance_works
self.assertIsInstance(0, typing.SupportsAbs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_cannot_instantiate_abstract (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 936, in test_cannot_instantiate_abstract
self.assertIsInstance(C(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_collections_protocols_allowed (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1595, in test_collections_protocols_allowed
self.assertIsSubclass(B, Custom)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1313, in test_defining_generic_protocols_old_style
self.assertIsSubclass(P, PR)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_everything_implements_empty_protocol (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 859, in test_everything_implements_empty_protocol
self.assertIsSubclass(thing, Empty)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_function_implements_protocol (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 867, in test_function_implements_protocol
self.assertIsInstance(f, HasCallProtocol)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1442, in test_generic_protocols_special_from_protocol
self.assertEqual(typing._get_protocol_attrs(P), {'meth'})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_non_protocol_subclasses (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1248, in test_non_protocol_subclasses
self.assertIsInstance(NonPR(), PR)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1222, in test_none_on_callable_blocks_implementation
self.assertNotIsInstance(B(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1239, in assertNotIsInstance
if isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1204, in test_none_on_non_callable_doesnt_block_implementation
self.assertIsInstance(B(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_none_treated_correctly (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1467, in test_none_treated_correctly
self.assertNotIsInstance(B(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1239, in assertNotIsInstance
if isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_protocols_isinstance (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1089, in test_protocols_isinstance
self.assertIsInstance(C(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_protocols_isinstance_init (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1152, in test_protocols_isinstance_init
self.assertIsInstance(C(1), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_protocols_isinstance_py36 (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1123, in test_protocols_isinstance_py36
self.assertIsInstance(APoint(1, 2, 'A'), Point)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_protocols_issubclass (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1025, in test_protocols_issubclass
self.assertIsSubclass(C, P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1052, in test_protocols_issubclass_non_callable
self.assertIsInstance(C(), PNonCall)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_protocols_pickleable (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1524, in test_protocols_pickleable
self.assertIsInstance(E(), D)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_protocols_support_register (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1185, in test_protocols_support_register
P.register(C)
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 115, in register
return _abc_register(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_subprotocols_extending (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 963, in test_subprotocols_extending
self.assertNotIsInstance(C1(), P2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1239, in assertNotIsInstance
if isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_subprotocols_merging (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 998, in test_subprotocols_merging
self.assertNotIsInstance(C1(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1239, in assertNotIsInstance
if isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_supports_abs (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1555, in test_supports_abs
self.assertIsSubclass(float, typing.SupportsAbs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_supports_bytes (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
test test_typing failed
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1550, in test_supports_bytes
self.assertIsSubclass(bytes, typing.SupportsBytes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_supports_complex (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1540, in test_supports_complex
self.assertIsSubclass(complex, typing.SupportsComplex)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_supports_float (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1531, in test_supports_float
self.assertIsSubclass(float, typing.SupportsFloat)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_supports_index (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1570, in test_supports_index
self.assertIsSubclass(int, typing.SupportsIndex)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_supports_int (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1527, in test_supports_int
self.assertIsSubclass(int, typing.SupportsInt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
======================================================================
ERROR: test_supports_round (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1560, in test_supports_round
issubclass(float, typing.SupportsRound)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) - list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'list'
----------------------------------------------------------------------
Ran 406 tests in 1.951s
FAILED (errors=28, skipped=1)
test_typing failed (28 errors)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 5.0 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_11"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_11_1" aria-expanded="false" aria-controls="job_list___sub_collapse_11_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_11_1"><button class="btn btn-outline-success"><span class="job_id">11 : Job ID c6e17a00f9684e068081a76fe862b84d</span></button></div></a><div aria-labelledby="job_list___sub_heading_11_1" data-parent="#job_list___sub_accordion_11" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_11_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1445" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1445, 35), end pos: (1445, 36)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 10</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1442,7 +1442,7 @@
def _caller(depth=1, default='__main__'):
try:
- return sys._getframe(depth + 1).f_globals.get('__name__', default)
+ return sys._getframe(depth - 1).f_globals.get('__name__', default)
except (AttributeError, ValueError): # For platforms without _getframe()
return None
</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40884æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 5.65 Run tests sequentially
0:00:00 load avg: 5.65 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ERROR
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ...
test_copy_and_pickle (test.test_typing.NamedTupleTests) (cls=&lt;class 'typing.Emp'&gt;) ... ERROR
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ...
test_pickle (test.test_typing.NewTypeCTests) (proto=0) ... ERROR
test_pickle (test.test_typing.NewTypeCTests) (proto=1) ... ERROR
test_pickle (test.test_typing.NewTypeCTests) (proto=2) ... ERROR
test_pickle (test.test_typing.NewTypeCTests) (proto=3) ... ERROR
test_pickle (test.test_typing.NewTypeCTests) (proto=4) ... ERROR
test_pickle (test.test_typing.NewTypeCTests) (proto=5) ... ERROR
test_repr (test.test_typing.NewTypeCTests) ... FAIL
test_special_attrs (test.test_typing.NewTypeCTests) ... FAIL
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ...
test_pickle (test.test_typing.NewTypePythonTests) (proto=0) ... ERROR
test_pickle (test.test_typing.NewTypePythonTests) (proto=1) ... ERROR
test_pickle (test.test_typing.NewTypePythonTests) (proto=2) ... ERROR
test_pickle (test.test_typing.NewTypePythonTests) (proto=3) ... ERROR
test_pickle (test.test_typing.NewTypePythonTests) (proto=4) ... ERROR
test_pickle (test.test_typing.NewTypePythonTests) (proto=5) ... ERROR
test_repr (test.test_typing.NewTypePythonTests) ... FAIL
test_special_attrs (test.test_typing.NewTypePythonTests) ... FAIL
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ERROR
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ERROR
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ERROR
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ERROR
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ...
test_special_attrs (test.test_typing.SpecialAttrsTests) (cls=typing.Concatenate[typing.Any, ~SpecialAttrsP]) ... ERROR
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... FAIL
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... FAIL
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... FAIL
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ERROR
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_immutability_by_copy_and_pickle (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2140, in test_immutability_by_copy_and_pickle
self.assertIs(pickle.loads(pickle.dumps(X)), X)
^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle ~TP: attribute lookup TP on typing failed
======================================================================
ERROR: test_copy_and_pickle (test.test_typing.NamedTupleTests) (cls=&lt;class 'typing.Emp'&gt;)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4158, in test_copy_and_pickle
z = pickle.dumps(jane, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle &lt;class 'typing.Emp'&gt;: attribute lookup Emp on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=0)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=2)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=3)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=4)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=5)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=0)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=2)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=3)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=4)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=5)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_none_treated_correctly (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1467, in test_none_treated_correctly
self.assertNotIsInstance(B(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1239, in assertNotIsInstance
if isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1493, in __instancecheck__
return super().__instancecheck__(instance)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 119, in __instancecheck__
return _abc_instancecheck(cls, instance)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1551, in _proto_hook
raise TypeError("Protocols with non-method members"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Protocols with non-method members don't support issubclass()
======================================================================
ERROR: test_protocols_isinstance_py36 (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1125, in test_protocols_isinstance_py36
self.assertNotIsInstance(MyPoint(), Point)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1239, in assertNotIsInstance
if isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1493, in __instancecheck__
return super().__instancecheck__(instance)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 119, in __instancecheck__
return _abc_instancecheck(cls, instance)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1551, in _proto_hook
raise TypeError("Protocols with non-method members"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Protocols with non-method members don't support issubclass()
======================================================================
ERROR: test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1053, in test_protocols_issubclass_non_callable
PNonCall.register(C)
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 115, in register
return _abc_register(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1551, in _proto_hook
raise TypeError("Protocols with non-method members"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Protocols with non-method members don't support issubclass()
======================================================================
ERROR: test_protocols_support_register (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1185, in test_protocols_support_register
P.register(C)
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 115, in register
return _abc_register(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1551, in _proto_hook
raise TypeError("Protocols with non-method members"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Protocols with non-method members don't support issubclass()
======================================================================
ERROR: test_special_attrs (test.test_typing.SpecialAttrsTests) (cls=typing.Concatenate[typing.Any, ~SpecialAttrsP])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4983, in test_special_attrs
s = pickle.dumps(cls, proto)
^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle ~SpecialAttrsP: attribute lookup SpecialAttrsP on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.TypedDictTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4267, in test_pickle
ZZ = pickle.dumps(EmpD, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle &lt;class 'typing.EmpD'&gt;: attribute lookup EmpD on typing failed
======================================================================
FAIL: test_repr (test.test_typing.NewTypeCTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3981, in test_repr
self.assertEqual(repr(UserId), f'{__name__}.UserId')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing.UserId' != 'test.test_typing.UserId'
- typing.UserId
+ test.test_typing.UserId
======================================================================
FAIL: test_special_attrs (test.test_typing.NewTypeCTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3970, in test_special_attrs
self.assertEqual(UserId.__module__, __name__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing' != 'test.test_typing'
- typing
+ test.test_typing
======================================================================
FAIL: test_repr (test.test_typing.NewTypePythonTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3981, in test_repr
self.assertEqual(repr(UserId), f'{__name__}.UserId')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing.UserId' != 'test.test_typing.UserId'
- typing.UserId
+ test.test_typing.UserId
======================================================================
FAIL: test_special_attrs (test.test_typing.NewTypePythonTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3970, in test_special_attrs
self.assertEqual(UserId.__module__, __name__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing' != 'test.test_typing'
- typing
+ test.test_typing
======================================================================
FAIL: test_special_attrs2 (test.test_typing.SpecialAttrsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 5007, in test_special_attrs2
self.assertEqual(
^^^^^^^^^^^^^^^^^
AssertionError: 'typing' != 'test.test_typing'
- typing
+ test.test_typing
======================================================================
FAIL: test_basics_functional_syntax (test.test_typing.TypedDictTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4183, in test_basics_functional_syntax
self.assertEqual(Emp.__module__, __name__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing' != 'test.test_typing'
- typing
+ test.test_typing
======================================================================
FAIL: test_basics_keywords_syntax (test.test_typing.TypedDictTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4198, in test_basics_keywords_syntax
self.assertEqual(Emp.__module__, __name__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing' != 'test.test_typing'
- typing
+ test.test_typing
----------------------------------------------------------------------
Ran 406 tests in 2.101s
FAILED (failures=7, errors=20, skipped=1)
test_typing failed (20 errors, 7 failures)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 5.5 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_12"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_12_1" aria-expanded="false" aria-controls="job_list___sub_collapse_12_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_12_1"><button class="btn btn-outline-success"><span class="job_id">12 : Job ID 5c47d18258b84889ad4d0872dff47107</span></button></div></a><div aria-labelledby="job_list___sub_heading_12_1" data-parent="#job_list___sub_accordion_12" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_12_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1604" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1604, 43), end pos: (1604, 44)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 11</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1601,7 +1601,7 @@
"""
def __init__(self, origin, metadata):
if isinstance(origin, _AnnotatedAlias):
- metadata = origin.__metadata__ + metadata
+ metadata = origin.__metadata__ - metadata
origin = origin.__origin__
super().__init__(origin, origin)
self.__metadata__ = metadata</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40890æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 6.60 Run tests sequentially
0:00:00 load avg: 6.60 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ERROR
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ERROR
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_flatten (test.test_typing.AnnotatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4457, in test_flatten
A = Annotated[Annotated[int, 4], 5]
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 319, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1685, in __class_getitem__
return _AnnotatedAlias(origin, metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1604, in __init__
metadata = origin.__metadata__ - metadata
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_subst (test.test_typing.AnnotatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4590, in test_subst
self.assertEqual(S[Annotated[int, dec]], Annotated[int, dec, dec2])
~^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 319, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1073, in __getitem__
return self.copy_with(tuple(new_args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1612, in copy_with
return _AnnotatedAlias(new_type, self.__metadata__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1604, in __init__
metadata = origin.__metadata__ - metadata
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
----------------------------------------------------------------------
Ran 406 tests in 1.366s
FAILED (errors=2, skipped=1)
test_typing failed (2 errors)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 5.2 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_13"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_13_1" aria-expanded="false" aria-controls="job_list___sub_collapse_13_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_13_1"><button class="btn btn-outline-success"><span class="job_id">13 : Job ID 65b9d947cc544187896f1f54cf1ef8e4</span></button></div></a><div aria-labelledby="job_list___sub_heading_13_1" data-parent="#job_list___sub_accordion_13" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_13_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1622" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1622, 42), end pos: (1622, 43)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 12</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1619,7 +1619,7 @@
def __reduce__(self):
return operator.getitem, (
- Annotated, (self.__origin__,) + self.__metadata__
+ Annotated, (self.__origin__,) - self.__metadata__
)
def __eq__(self, other):</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40898æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 6.31 Run tests sequentially
0:00:00 load avg: 6.31 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ...
test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) ... ERROR
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ...
test_special_attrs (test.test_typing.SpecialAttrsTests) (cls=typing.Annotated[typing.Any, 'Annotation']) ... ERROR
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4577, in test_pickle
z = pickle.dumps(G, proto)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
======================================================================
ERROR: test_special_attrs (test.test_typing.SpecialAttrsTests) (cls=typing.Annotated[typing.Any, 'Annotation'])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4983, in test_special_attrs
s = pickle.dumps(cls, proto)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) - self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
----------------------------------------------------------------------
Ran 406 tests in 1.774s
FAILED (errors=32, skipped=1)
test_typing failed (32 errors)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 5.0 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_14"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_14_1" aria-expanded="false" aria-controls="job_list___sub_collapse_14_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_14_1"><button class="btn btn-outline-success"><span class="job_id">14 : Job ID 3b31dc8d202b4462914ead9c2f0d28de</span></button></div></a><div aria-labelledby="job_list___sub_heading_14_1" data-parent="#job_list___sub_accordion_14" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_14_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1922" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1922, 32), end pos: (1922, 33)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 13</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1919,7 +1919,7 @@
get_args(Callable[[], T][int]) == ([], int)
"""
if isinstance(tp, _AnnotatedAlias):
- return (tp.__origin__,) + tp.__metadata__
+ return (tp.__origin__,) - tp.__metadata__
if isinstance(tp, (_GenericAlias, GenericAlias)):
res = tp.__args__
if (tp.__origin__ is collections.abc.Callable</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40909æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 10.60 Run tests sequentially
0:00:00 load avg: 10.60 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ERROR
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_get_args (test.test_typing.GetUtilitiesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3347, in test_get_args
self.assertEqual(get_args(Annotated[T, 'one', 2, ['three']]), (T, 'one', 2, ['three']))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1922, in get_args
return (tp.__origin__,) - tp.__metadata__
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
----------------------------------------------------------------------
Ran 406 tests in 1.397s
FAILED (errors=1, skipped=1)
test_typing failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 5.4 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_15"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_15_1" aria-expanded="false" aria-controls="job_list___sub_collapse_15_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_15_1"><button class="btn btn-outline-success"><span class="job_id">15 : Job ID 108923ec7993405f9e49bcd219816e5f</span></button></div></a><div aria-labelledby="job_list___sub_heading_15_1" data-parent="#job_list___sub_accordion_15" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_15_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1960" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1960, 36), end pos: (1960, 37)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 14</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1957,7 +1957,7 @@
if isinstance(arg, type):
arg_attrs = arg.__dict__.copy()
for attr, val in arg.__dict__.items():
- if val in arg.__bases__ + (arg,):
+ if val in arg.__bases__ - (arg,):
arg_attrs.pop(attr)
for obj in arg_attrs.values():
if isinstance(obj, types.FunctionType):</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40915æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 12.15 Run tests sequentially
0:00:00 load avg: 12.15 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2984, in &lt;module&gt;
from test import ann_module, ann_module2, ann_module3, ann_module5, ann_module6
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/ann_module2.py", line 29, in &lt;module&gt;
class NTC:
^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1960, in no_type_check
if val in arg.__bases__ - (arg,):
~~~~~~~~~~~~~~^~~~~~~~
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 2.5 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_16"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_16_1" aria-expanded="false" aria-controls="job_list___sub_collapse_16_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_16_1"><button class="btn btn-outline-success"><span class="job_id">16 : Job ID 59e236ea47ab4a5fadadcb0b30bb3dbc</span></button></div></a><div aria-labelledby="job_list___sub_heading_16_1" data-parent="#job_list___sub_accordion_16" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_16_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=2266" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (2266, 78), end pos: (2266, 79)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 15</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -2263,7 +2263,7 @@
# update from user namespace without overriding special namedtuple attributes
for key in ns:
if key in _prohibited:
- raise AttributeError("Cannot overwrite NamedTuple attribute " + key)
+ raise AttributeError("Cannot overwrite NamedTuple attribute " - key)
elif key not in _special and key not in nm_tpl._fields:
setattr(nm_tpl, key, ns[key])
return nm_tpl</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40919æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 11.90 Run tests sequentially
0:00:00 load avg: 11.90 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ERROR
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_annotation_usage_with_methods (test.test_typing.NamedTupleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4083, in test_annotation_usage_with_methods
class XMethBad(NamedTuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 2266, in __new__
raise AttributeError("Cannot overwrite NamedTuple attribute " - key)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
----------------------------------------------------------------------
Ran 406 tests in 1.279s
FAILED (errors=1, skipped=1)
test_typing failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 4.2 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_17"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_17_1" aria-expanded="false" aria-controls="job_list___sub_collapse_17_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_17_1"><button class="btn btn-outline-success"><span class="job_id">17 : Job ID c9d003c3a22546078baedfb0aab88b32</span></button></div></a><div aria-labelledby="job_list___sub_heading_17_1" data-parent="#job_list___sub_accordion_17" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_17_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=2649" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (2649, 23), end pos: (2649, 24)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 16</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -2646,7 +2646,7 @@
BinaryIO = BinaryIO
-io.__name__ = __name__ + '.io'
+io.__name__ = __name__ - '.io'
sys.modules[io.__name__] = io
Pattern = _alias(stdlib_re.Pattern, 1)</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40924æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 11.19 Run tests sequentially
0:00:00 load avg: 11.19 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 10, in &lt;module&gt;
from typing import Any, NoReturn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 2649, in &lt;module&gt;
io.__name__ = __name__ - '.io'
~~~~~~~~~^~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 1.8 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_18"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_18_1" aria-expanded="false" aria-controls="job_list___sub_collapse_18_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_18_1"><button class="btn btn-outline-success"><span class="job_id">18 : Job ID 3c7379f2f70c40dfa1b667fc81f52b9c</span></button></div></a><div aria-labelledby="job_list___sub_heading_18_1" data-parent="#job_list___sub_accordion_18" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_18_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=2663" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (2663, 23), end pos: (2663, 24)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Sub, occurrence: 17</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -2660,6 +2660,6 @@
Match = Match
-re.__name__ = __name__ + '.re'
+re.__name__ = __name__ - '.re'
sys.modules[re.__name__] = re
</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40927æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 11.01 Run tests sequentially
0:00:00 load avg: 11.01 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 10, in &lt;module&gt;
from typing import Any, NoReturn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 2663, in &lt;module&gt;
re.__name__ = __name__ - '.re'
~~~~~~~~~^~~~~~~
TypeError: unsupported operand type(s) for -: 'str' and 'str'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 1.2 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_19"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_19_1" aria-expanded="false" aria-controls="job_list___sub_collapse_19_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_19_1"><button class="btn btn-outline-success"><span class="job_id">19 : Job ID df5b80597b6d46b9bf4caa8c231de8bb</span></button></div></a><div aria-labelledby="job_list___sub_heading_19_1" data-parent="#job_list___sub_accordion_19" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_19_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=388" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (388, 25), end pos: (388, 26)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 0</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -385,7 +385,7 @@
raise TypeError(f"Cannot subclass {self!r}")
def __repr__(self):
- return 'typing.' + self._name
+ return 'typing.' * self._name
def __reduce__(self):
return self._name</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40930æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 10.37 Run tests sequentially
0:00:00 load avg: 10.37 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 10, in &lt;module&gt;
from typing import Any, NoReturn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 2592, in &lt;module&gt;
class TextIO(IO[str]):
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 2609, in TextIO
def errors(self) -&gt; Optional[str]:
~~~~~~~~^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 319, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 410, in __getitem__
return self._getitem(self, parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 535, in Optional
arg = _type_check(parameters, f"{self} requires a single type.")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 388, in __repr__
return 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 2.2 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_20"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_20_1" aria-expanded="false" aria-controls="job_list___sub_collapse_20_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_20_1"><button class="btn btn-outline-success"><span class="job_id">20 : Job ID ea5a68cd20f74b92b8c30ad6f6340484</span></button></div></a><div aria-labelledby="job_list___sub_heading_20_1" data-parent="#job_list___sub_accordion_20" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_20_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=759" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (759, 22), end pos: (759, 23)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 1</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -756,7 +756,7 @@
prefix = '-'
else:
prefix = '~'
- return prefix + self.__name__
+ return prefix * self.__name__
def __reduce__(self):
return self.__name__</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40933æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 10.37 Run tests sequentially
0:00:00 load avg: 10.37 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ERROR
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... FAIL
test_paramspec (test.test_typing.CollectionsCallableTests) ... ERROR
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ERROR
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ERROR
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ERROR
test_new_repr_bare (test.test_typing.GenericTests) ... ERROR
test_new_repr_complex (test.test_typing.GenericTests) ... ERROR
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ...
ERROR
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ERROR
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ...
ERROR
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ERROR
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ERROR
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... FAIL
test_paramspec (test.test_typing.TypingCallableTests) ... ERROR
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ERROR
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... ok
======================================================================
ERROR: test_concatenate (test.test_typing.CollectionsCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 619, in test_concatenate
self.assertEqual(repr(C1),
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/_collections_abc.py", line 454, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_paramspec (test.test_typing.CollectionsCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 594, in test_paramspec
self.assertEqual(repr(C1), f"{fullname}[~P, ~T]")
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/_collections_abc.py", line 454, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_var_substitution (test.test_typing.CollectionsCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 561, in test_var_substitution
self.assertEqual(repr(C4), f"{fullname}[[int, ~VT], str]")
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/_collections_abc.py", line 456, in __repr__
f'[[{", ".join([_type_repr(a) for a in self.__args__[:-1]])}], '
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/_collections_abc.py", line 456, in &lt;listcomp&gt;
f'[[{", ".join([_type_repr(a) for a in self.__args__[:-1]])}], '
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/_collections_abc.py", line 547, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_all_repr_eq_any (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2073, in test_all_repr_eq_any
self.assertNotEqual(repr(obj), '')
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_new_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1729, in test_new_repr
self.assertEqual(repr(List[T]), 'typing.List[~T]')
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_new_repr_bare (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1748, in test_new_repr_bare
self.assertEqual(repr(Generic[T]), 'typing.Generic[~T]')
^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_new_repr_complex (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1738, in test_new_repr_complex
self.assertEqual(repr(typing.Mapping[T, TS][TS, T]), 'typing.Mapping[~TS, ~T]')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_subclass_special_form (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 57, in testPartExecutor
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 506, in subTest
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2449, in test_subclass_special_form
TypeError, f'^{re.escape(f"Cannot subclass {obj!r}")}$'
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2447, in test_subclass_special_form
with self.subTest(msg=obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 505, in subTest
with self._outcome.testPartExecutor(self._subtest, subTest=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 72, in testPartExecutor
self.result.addSubTest(test_case.test_case, test_case, exc_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 79, in addSubTest
self._write_status(subtest, "ERROR")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 68, in _write_status
self.stream.write(self.getDescription(test))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 51, in getDescription
return str(test)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1397, in __str__
return "{} {}".format(self.test_case, self._subDescription())
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1379, in _subDescription
parts.append("[{}]".format(self._message))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_generic_protocols_repr (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1395, in test_generic_protocols_repr
self.assertTrue(repr(P[T, S]).endswith('P[~T, ~S]'))
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_special_attrs (test.test_typing.SpecialAttrsTests)
----------------------------------------------------------------------
test test_typing failed
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 57, in testPartExecutor
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 506, in subTest
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4979, in test_special_attrs
self.assertEqual(cls.__name__, name, str(cls))
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4978, in test_special_attrs
with self.subTest(cls=cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 505, in subTest
with self._outcome.testPartExecutor(self._subtest, subTest=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 72, in testPartExecutor
self.result.addSubTest(test_case.test_case, test_case, exc_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 79, in addSubTest
self._write_status(subtest, "ERROR")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 68, in _write_status
self.stream.write(self.getDescription(test))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 51, in getDescription
return str(test)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1397, in __str__
return "{} {}".format(self.test_case, self._subDescription())
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1381, in _subDescription
params_desc = ', '.join(
^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1382, in &lt;genexpr&gt;
"{}={!r}".format(k, v)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_repr (test.test_typing.TypeVarTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 212, in test_repr
self.assertEqual(repr(T), '~T')
^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_concatenate (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 619, in test_concatenate
self.assertEqual(repr(C1),
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1164, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_paramspec (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 594, in test_paramspec
self.assertEqual(repr(C1), f"{fullname}[~P, ~T]")
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1164, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_var_substitution (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 561, in test_var_substitution
self.assertEqual(repr(C4), f"{fullname}[[int, ~VT], str]")
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1166, in __repr__
f'[[{", ".join([_type_repr(a) for a in args[:-1]])}], '
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1166, in &lt;listcomp&gt;
f'[[{", ".join([_type_repr(a) for a in args[:-1]])}], '
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 759, in __repr__
return prefix * self.__name__
~~~~~~~^~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
FAIL: test_errors (test.test_typing.CollectionsCallableTests)
----------------------------------------------------------------------
TypeError: can't multiply sequence by non-int of type 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 629, in test_errors
with self.assertRaisesRegex(TypeError, "many arguments for"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "many arguments for" does not match "can't multiply sequence by non-int of type 'str'"
======================================================================
FAIL: test_errors (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
TypeError: can't multiply sequence by non-int of type 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 629, in test_errors
with self.assertRaisesRegex(TypeError, "many arguments for"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "many arguments for" does not match "can't multiply sequence by non-int of type 'str'"
----------------------------------------------------------------------
Ran 406 tests in 1.563s
FAILED (failures=2, errors=14, skipped=1)
test_typing failed (14 errors, 2 failures)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 4.4 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_21"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_21_1" aria-expanded="false" aria-controls="job_list___sub_collapse_21_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_21_1"><button class="btn btn-outline-success"><span class="job_id">21 : Job ID a368fa3e95df43239c90f5b2a430b177</span></button></div></a><div aria-labelledby="job_list___sub_heading_21_1" data-parent="#job_list___sub_accordion_21" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_21_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=964" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (964, 24), end pos: (964, 25)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 2</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -961,7 +961,7 @@
if self.__origin__ not in bases:
res.append(self.__origin__)
i = bases.index(self)
- for b in bases[i+1:]:
+ for b in bases[i*1:]:
if isinstance(b, _BaseGenericAlias) or issubclass(b, Generic):
break
else:</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40936æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 10.55 Run tests sequentially
0:00:00 load avg: 10.55 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ERROR
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ERROR
test_multiple_bases (test.test_typing.GenericTests) ... FAIL
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_extended_generic_rules_subclassing (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2010, in test_extended_generic_rules_subclassing
self.assertEqual(T1.__parameters__, (T, KT))
^^^^^^^^^^^^^^^^^
AttributeError: type object 'T1' has no attribute '__parameters__'
======================================================================
ERROR: test_multi_subscr_base (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1886, in test_multi_subscr_base
self.assertEqual(C.__parameters__, (V,))
^^^^^^^^^^^^^^^^
AttributeError: type object 'C' has no attribute '__parameters__'
======================================================================
FAIL: test_multiple_bases (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1837, in test_multiple_bases
self.assertEqual(MM2.__bases__, (collections.abc.MutableMapping, Generic))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Tuples differ: (&lt;class 'collections.abc.MutableMapping'&gt;,) != (&lt;class 'collections.abc.MutableMapping'&gt;, &lt;class 'typing.Generic'&gt;)
Second tuple contains 1 additional elements.
First extra element 1:
&lt;class 'typing.Generic'&gt;
- (&lt;class 'collections.abc.MutableMapping'&gt;,)
+ (&lt;class 'collections.abc.MutableMapping'&gt;, &lt;class 'typing.Generic'&gt;)
? +++++++++++++++++++++++++
----------------------------------------------------------------------
Ran 406 tests in 0.942s
FAILED (failures=1, errors=2, skipped=1)
test_typing failed (2 errors, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.1 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_22"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_22_1" aria-expanded="false" aria-controls="job_list___sub_collapse_22_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_22_1"><button class="btn btn-outline-success"><span class="job_id">22 : Job ID 9f32efb180b74a77b3ad98f3abccac29</span></button></div></a><div aria-labelledby="job_list___sub_heading_22_1" data-parent="#job_list___sub_accordion_22" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_22_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1080" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1080, 29), end pos: (1080, 30)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 3</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1077,7 +1077,7 @@
def __repr__(self):
if self._name:
- name = 'typing.' + self._name
+ name = 'typing.' * self._name
else:
name = _type_repr(self.__origin__)
args = ", ".join([_type_repr(a) for a in self.__args__])</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40939æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 9.94 Run tests sequentially
0:00:00 load avg: 9.94 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ERROR
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ERROR
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ERROR
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ERROR
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ERROR
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ERROR
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ERROR
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ERROR
test_special_attrs (test.test_typing.SpecialAttrsTests) ...
ERROR
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ERROR
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ERROR
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... FAIL
test_paramspec (test.test_typing.TypingCallableTests) ... ERROR
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ERROR
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ERROR
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_repr (test.test_typing.AnnotatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4452, in test_repr
repr(Annotated[List[int], 4, 5]),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1616, in __repr__
_type_repr(self.__origin__),
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_forward_repr (test.test_typing.ForwardRefTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2673, in test_forward_repr
self.assertEqual(repr(List['int']), "typing.List[ForwardRef('int')]")
^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_chain_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1720, in test_chain_repr
self.assertTrue(str(Z).endswith(
^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_extended_generic_rules_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1970, in test_extended_generic_rules_repr
self.assertEqual(repr(Union[Tuple, Tuple[int]]).replace('typing.', ''),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1246, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_generic_hashes (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1940, in test_generic_hashes
self.assertTrue(repr(Tuple[A[str]]).endswith('&lt;locals&gt;.A[str]]'))
^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_new_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1729, in test_new_repr
self.assertEqual(repr(List[T]), 'typing.List[~T]')
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_new_repr_complex (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1738, in test_new_repr_complex
self.assertEqual(repr(typing.Mapping[T, TS][TS, T]), 'typing.Mapping[~TS, ~T]')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_repr (test.test_typing.RETests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4418, in test_repr
self.assertEqual(repr(Pattern[str]), 'typing.Pattern[str]')
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_special_attrs (test.test_typing.SpecialAttrsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 57, in testPartExecutor
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 506, in subTest
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4979, in test_special_attrs
self.assertEqual(cls.__name__, name, str(cls))
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4978, in test_special_attrs
with self.subTest(cls=cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 505, in subTest
with self._outcome.testPartExecutor(self._subtest, subTest=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 72, in testPartExecutor
self.result.addSubTest(test_case.test_case, test_case, exc_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 79, in addSubTest
self._write_status(subtest, "ERROR")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 68, in _write_status
self.stream.write(self.getDescription(test))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 51, in getDescription
return str(test)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1397, in __str__
return "{} {}".format(self.test_case, self._subDescription())
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1381, in _subDescription
params_desc = ', '.join(
^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1382, in &lt;genexpr&gt;
"{}={!r}".format(k, v)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_repr (test.test_typing.TupleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 430, in test_repr
self.assertEqual(repr(Tuple[()]), 'typing.Tuple[()]')
^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_concatenate (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 619, in test_concatenate
self.assertEqual(repr(C1),
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1164, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_paramspec (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 594, in test_paramspec
self.assertEqual(repr(C1), f"{fullname}[~P, ~T]")
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1164, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_repr (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 507, in test_repr
self.assertEqual(repr(ctv), f'{fullname}[..., str]')
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1164, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_repr (test.test_typing.UnionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 321, in test_repr
self.assertEqual(repr(u), 'typing.Union[typing.List[int], int]')
^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1246, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1080, in __repr__
name = 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
FAIL: test_errors (test.test_typing.TypingCallableTests)
----------------------------------------------------------------------
TypeError: can't multiply sequence by non-int of type 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 629, in test_errors
with self.assertRaisesRegex(TypeError, "many arguments for"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "many arguments for" does not match "can't multiply sequence by non-int of type 'str'"
----------------------------------------------------------------------
Ran 406 tests in 1.068s
FAILED (failures=1, errors=14, skipped=1)
test_typing failed (14 errors, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.4 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_23"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_23_1" aria-expanded="false" aria-controls="job_list___sub_collapse_23_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-danger" id="job_list___sub_heading_23_1"><button class="btn btn-outline-danger"><span class="job_id">23 : Job ID 92a1add3cf34480eb4b73e6e007b3103</span></button></div></a><div aria-labelledby="job_list___sub_heading_23_1" data-parent="#job_list___sub_accordion_23" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_23_1"><div class="card-body"><div class="work-item"><div class="alert alert-danger test-outcome" role="alert"><p>SURVIVED</p><p>worker outcome: normal</p><p>test outcome: survived</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1106" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1106, 28), end pos: (1106, 29)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 4</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1103,7 +1103,7 @@
if Protocol in bases:
return ()
i = bases.index(self)
- for b in bases[i+1:]:
+ for b in bases[i*1:]:
if isinstance(b, _BaseGenericAlias) and b is not self:
return ()
return (self.__origin__,)</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40942æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 9.47 Run tests sequentially
0:00:00 load avg: 9.47 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... ok
----------------------------------------------------------------------
Ran 406 tests in 1.063s
OK (skipped=1)
== Tests result: SUCCESS ==
1 test OK.
Total duration: 3.5 sec
Tests result: SUCCESS
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_24"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_24_1" aria-expanded="false" aria-controls="job_list___sub_collapse_24_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_24_1"><button class="btn btn-outline-success"><span class="job_id">24 : Job ID 590a8faece5e4e75a7164a9ce25e1c1b</span></button></div></a><div aria-labelledby="job_list___sub_heading_24_1" data-parent="#job_list___sub_accordion_24" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_24_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1141" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1141, 25), end pos: (1141, 26)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 5</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1138,7 +1138,7 @@
name=self._name, inst=self._inst)
def __repr__(self):
- return 'typing.' + self._name
+ return 'typing.' * self._name
def __subclasscheck__(self, cls):
if isinstance(cls, _SpecialGenericAlias):</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40945æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 9.03 Run tests sequentially
0:00:00 load avg: 9.03 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ERROR
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ERROR
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ERROR
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ERROR
test_special_attrs (test.test_typing.SpecialAttrsTests) ...
ERROR
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ERROR
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_all_repr_eq_any (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2073, in test_all_repr_eq_any
self.assertNotEqual(repr(obj), '')
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_extended_generic_rules_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1968, in test_extended_generic_rules_repr
self.assertEqual(repr(Union[Tuple, Callable]).replace('typing.', ''),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1246, in __repr__
return super().__repr__()
^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in __repr__
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1083, in &lt;listcomp&gt;
args = ", ".join([_type_repr(a) for a in self.__args__])
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 210, in _type_repr
return repr(obj)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_new_repr (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1728, in test_new_repr
self.assertEqual(repr(List), 'typing.List')
^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_repr (test.test_typing.RETests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4417, in test_repr
self.assertEqual(repr(Pattern), 'typing.Pattern')
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_special_attrs (test.test_typing.SpecialAttrsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 57, in testPartExecutor
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 506, in subTest
yield
^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4979, in test_special_attrs
self.assertEqual(cls.__name__, name, str(cls))
^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4978, in test_special_attrs
with self.subTest(cls=cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 505, in subTest
with self._outcome.testPartExecutor(self._subtest, subTest=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 72, in testPartExecutor
self.result.addSubTest(test_case.test_case, test_case, exc_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 79, in addSubTest
self._write_status(subtest, "ERROR")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 68, in _write_status
self.stream.write(self.getDescription(test))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/runner.py", line 51, in getDescription
return str(test)
^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1397, in __str__
return "{} {}".format(self.test_case, self._subDescription())
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1381, in _subDescription
params_desc = ', '.join(
^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1382, in &lt;genexpr&gt;
"{}={!r}".format(k, v)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
======================================================================
ERROR: test_repr (test.test_typing.TupleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 429, in test_repr
self.assertEqual(repr(Tuple), 'typing.Tuple')
^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1141, in __repr__
return 'typing.' * self._name
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'str'
----------------------------------------------------------------------
Ran 406 tests in 1.166s
FAILED (errors=6, skipped=1)
test_typing failed (6 errors)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.9 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_25"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_25_1" aria-expanded="false" aria-controls="job_list___sub_collapse_25_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_25_1"><button class="btn btn-outline-success"><span class="job_id">25 : Job ID 57b91113677d4754ac8bfc871fdada6d</span></button></div></a><div aria-labelledby="job_list___sub_heading_25_1" data-parent="#job_list___sub_accordion_25" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_25_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1207" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1207, 22), end pos: (1207, 23)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 6</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1204,7 +1204,7 @@
if not isinstance(args, tuple):
args = (args,)
args = tuple(_type_convert(arg) for arg in args)
- params = args + (result,)
+ params = args * (result,)
return self.copy_with(params)
</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40948æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 8.46 Run tests sequentially
0:00:00 load avg: 8.46 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2976, in &lt;module&gt;
exec(ASYNCIO_TESTS)
^^^^^^^^^^^^^^^^^^^
File "&lt;string&gt;", line 2, in &lt;module&gt;
File "/Users/sobolev/Desktop/cpython/Lib/asyncio/__init__.py", line 8, in &lt;module&gt;
from .base_events import *
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/asyncio/base_events.py", line 45, in &lt;module&gt;
from . import staggered
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/asyncio/staggered.py", line 15, in &lt;module&gt;
coro_fns: typing.Iterable[typing.Callable[[], typing.Awaitable]],
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1195, in __getitem__
return self.__getitem_inner__(params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 319, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1207, in __getitem_inner__
params = args * (result,)
~~~~~^~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 2.2 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_26"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_26_1" aria-expanded="false" aria-controls="job_list___sub_collapse_26_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_26_1"><button class="btn btn-outline-success"><span class="job_id">26 : Job ID c2a6dbff76da4eda8a663fc0751e97f3</span></button></div></a><div aria-labelledby="job_list___sub_heading_26_1" data-parent="#job_list___sub_accordion_26" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_26_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1389" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1389, 40), end pos: (1389, 41)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 7</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1386,7 +1386,7 @@
'__subclasshook__', '__weakref__', '__class_getitem__']
# These special attributes will be not collected as protocol members.
-EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS + _SPECIAL_NAMES + ['_MutableMapping__marker']
+EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS * _SPECIAL_NAMES + ['_MutableMapping__marker']
def _get_protocol_attrs(cls):</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40952æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 8.27 Run tests sequentially
0:00:00 load avg: 8.27 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 10, in &lt;module&gt;
from typing import Any, NoReturn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1389, in &lt;module&gt;
EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS * _SPECIAL_NAMES + ['_MutableMapping__marker']
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 1.7 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_27"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_27_1" aria-expanded="false" aria-controls="job_list___sub_collapse_27_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_27_1"><button class="btn btn-outline-success"><span class="job_id">27 : Job ID 7747c47b520d4a98a1ad8a16f909788f</span></button></div></a><div aria-labelledby="job_list___sub_heading_27_1" data-parent="#job_list___sub_accordion_27" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_27_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1389" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1389, 57), end pos: (1389, 58)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 8</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1386,7 +1386,7 @@
'__subclasshook__', '__weakref__', '__class_getitem__']
# These special attributes will be not collected as protocol members.
-EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS + _SPECIAL_NAMES + ['_MutableMapping__marker']
+EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS + _SPECIAL_NAMES * ['_MutableMapping__marker']
def _get_protocol_attrs(cls):</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40956æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 8.49 Run tests sequentially
0:00:00 load avg: 8.49 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 10, in &lt;module&gt;
from typing import Any, NoReturn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1389, in &lt;module&gt;
EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS + _SPECIAL_NAMES * ['_MutableMapping__marker']
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 1.8 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_28"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_28_1" aria-expanded="false" aria-controls="job_list___sub_collapse_28_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_28_1"><button class="btn btn-outline-success"><span class="job_id">28 : Job ID 8f7d2c217f3e408ca0dfce6220bdef0d</span></button></div></a><div aria-labelledby="job_list___sub_heading_28_1" data-parent="#job_list___sub_accordion_28" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_28_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1403" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1403, 47), end pos: (1403, 48)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 9</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1400,7 +1400,7 @@
if base.__name__ in ('Protocol', 'Generic'):
continue
annotations = getattr(base, '__annotations__', {})
- for attr in list(base.__dict__.keys()) + list(annotations.keys()):
+ for attr in list(base.__dict__.keys()) * list(annotations.keys()):
if not attr.startswith('_abc_') and attr not in EXCLUDED_ATTRIBUTES:
attrs.add(attr)
return attrs</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40959æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 8.49 Run tests sequentially
0:00:00 load avg: 8.49 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ERROR
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ERROR
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ERROR
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ERROR
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ERROR
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ERROR
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ERROR
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ERROR
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ERROR
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ERROR
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ERROR
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ERROR
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ERROR
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ERROR
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ERROR
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ERROR
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ERROR
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ERROR
test_protocols_support_register (test.test_typing.ProtocolTests) ... ERROR
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ERROR
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ERROR
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ERROR
test_supports_bytes (test.test_typing.ProtocolTests) ... ERROR
test_supports_complex (test.test_typing.ProtocolTests) ... ERROR
test_supports_float (test.test_typing.ProtocolTests) ... ERROR
test_supports_index (test.test_typing.ProtocolTests) ... ERROR
test_supports_int (test.test_typing.ProtocolTests) ... ERROR
test_supports_round (test.test_typing.ProtocolTests) ... ERROR
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... ok
======================================================================
ERROR: test_basic_protocol (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 840, in test_basic_protocol
self.assertIsSubclass(D, P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_bundled_protocol_instance_works (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1574, in test_bundled_protocol_instance_works
self.assertIsInstance(0, typing.SupportsAbs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_cannot_instantiate_abstract (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 936, in test_cannot_instantiate_abstract
self.assertIsInstance(C(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_collections_protocols_allowed (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1595, in test_collections_protocols_allowed
self.assertIsSubclass(B, Custom)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1313, in test_defining_generic_protocols_old_style
self.assertIsSubclass(P, PR)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_everything_implements_empty_protocol (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 859, in test_everything_implements_empty_protocol
self.assertIsSubclass(thing, Empty)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_function_implements_protocol (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 867, in test_function_implements_protocol
self.assertIsInstance(f, HasCallProtocol)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1442, in test_generic_protocols_special_from_protocol
self.assertEqual(typing._get_protocol_attrs(P), {'meth'})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_non_protocol_subclasses (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1248, in test_non_protocol_subclasses
self.assertIsInstance(NonPR(), PR)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1222, in test_none_on_callable_blocks_implementation
self.assertNotIsInstance(B(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1239, in assertNotIsInstance
if isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1204, in test_none_on_non_callable_doesnt_block_implementation
self.assertIsInstance(B(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_none_treated_correctly (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1467, in test_none_treated_correctly
self.assertNotIsInstance(B(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1239, in assertNotIsInstance
if isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_protocols_isinstance (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1089, in test_protocols_isinstance
self.assertIsInstance(C(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_protocols_isinstance_init (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1152, in test_protocols_isinstance_init
self.assertIsInstance(C(1), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_protocols_isinstance_py36 (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1123, in test_protocols_isinstance_py36
self.assertIsInstance(APoint(1, 2, 'A'), Point)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_protocols_issubclass (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1025, in test_protocols_issubclass
self.assertIsSubclass(C, P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1052, in test_protocols_issubclass_non_callable
self.assertIsInstance(C(), PNonCall)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_protocols_pickleable (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1524, in test_protocols_pickleable
self.assertIsInstance(E(), D)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1233, in assertIsInstance
if not isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_protocols_support_register (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1185, in test_protocols_support_register
P.register(C)
^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 115, in register
return _abc_register(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_subprotocols_extending (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 963, in test_subprotocols_extending
self.assertNotIsInstance(C1(), P2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1239, in assertNotIsInstance
if isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_subprotocols_merging (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 998, in test_subprotocols_merging
self.assertNotIsInstance(C1(), P)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/unittest/case.py", line 1239, in assertNotIsInstance
if isinstance(obj, cls):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1483, in __instancecheck__
_is_callable_members_only(cls)) and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_supports_abs (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1555, in test_supports_abs
self.assertIsSubclass(float, typing.SupportsAbs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_supports_bytes (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
test test_typing failed
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1550, in test_supports_bytes
self.assertIsSubclass(bytes, typing.SupportsBytes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_supports_complex (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1540, in test_supports_complex
self.assertIsSubclass(complex, typing.SupportsComplex)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_supports_float (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1531, in test_supports_float
self.assertIsSubclass(float, typing.SupportsFloat)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_supports_index (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1570, in test_supports_index
self.assertIsSubclass(int, typing.SupportsIndex)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_supports_int (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1527, in test_supports_int
self.assertIsSubclass(int, typing.SupportsInt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 48, in assertIsSubclass
if not issubclass(cls, class_or_tuple):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
======================================================================
ERROR: test_supports_round (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1560, in test_supports_round
issubclass(float, typing.SupportsRound)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/abc.py", line 123, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1548, in _proto_hook
if not _is_callable_members_only(cls):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1411, in _is_callable_members_only
return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1403, in _get_protocol_attrs
for attr in list(base.__dict__.keys()) * list(annotations.keys()):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'list'
----------------------------------------------------------------------
Ran 406 tests in 1.160s
FAILED (errors=28, skipped=1)
test_typing failed (28 errors)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.3 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_29"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_29_1" aria-expanded="false" aria-controls="job_list___sub_collapse_29_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_29_1"><button class="btn btn-outline-success"><span class="job_id">29 : Job ID a38a6e38d07f4d318a49df1620bc068e</span></button></div></a><div aria-labelledby="job_list___sub_heading_29_1" data-parent="#job_list___sub_accordion_29" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_29_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1445" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1445, 35), end pos: (1445, 36)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 10</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1442,7 +1442,7 @@
def _caller(depth=1, default='__main__'):
try:
- return sys._getframe(depth + 1).f_globals.get('__name__', default)
+ return sys._getframe(depth * 1).f_globals.get('__name__', default)
except (AttributeError, ValueError): # For platforms without _getframe()
return None
</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40962æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 8.02 Run tests sequentially
0:00:00 load avg: 8.02 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ERROR
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ...
test_copy_and_pickle (test.test_typing.NamedTupleTests) (cls=&lt;class 'typing.Emp'&gt;) ... ERROR
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ...
test_pickle (test.test_typing.NewTypeCTests) (proto=0) ... ERROR
test_pickle (test.test_typing.NewTypeCTests) (proto=1) ... ERROR
test_pickle (test.test_typing.NewTypeCTests) (proto=2) ... ERROR
test_pickle (test.test_typing.NewTypeCTests) (proto=3) ... ERROR
test_pickle (test.test_typing.NewTypeCTests) (proto=4) ... ERROR
test_pickle (test.test_typing.NewTypeCTests) (proto=5) ... ERROR
test_repr (test.test_typing.NewTypeCTests) ... FAIL
test_special_attrs (test.test_typing.NewTypeCTests) ... FAIL
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ...
test_pickle (test.test_typing.NewTypePythonTests) (proto=0) ... ERROR
test_pickle (test.test_typing.NewTypePythonTests) (proto=1) ... ERROR
test_pickle (test.test_typing.NewTypePythonTests) (proto=2) ... ERROR
test_pickle (test.test_typing.NewTypePythonTests) (proto=3) ... ERROR
test_pickle (test.test_typing.NewTypePythonTests) (proto=4) ... ERROR
test_pickle (test.test_typing.NewTypePythonTests) (proto=5) ... ERROR
test_repr (test.test_typing.NewTypePythonTests) ... FAIL
test_special_attrs (test.test_typing.NewTypePythonTests) ... FAIL
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... FAIL
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... FAIL
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ...
test_special_attrs (test.test_typing.SpecialAttrsTests) (cls=typing.Concatenate[typing.Any, ~SpecialAttrsP]) ... ERROR
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... FAIL
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... FAIL
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... FAIL
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ERROR
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_immutability_by_copy_and_pickle (test.test_typing.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2140, in test_immutability_by_copy_and_pickle
self.assertIs(pickle.loads(pickle.dumps(X)), X)
^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle ~TP: attribute lookup TP on typing failed
======================================================================
ERROR: test_copy_and_pickle (test.test_typing.NamedTupleTests) (cls=&lt;class 'typing.Emp'&gt;)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4158, in test_copy_and_pickle
z = pickle.dumps(jane, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle &lt;class 'typing.Emp'&gt;: attribute lookup Emp on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=0)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=2)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=3)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=4)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypeCTests) (proto=5)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=0)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=2)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=3)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=4)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.NewTypePythonTests) (proto=5)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3989, in test_pickle
pickled = pickle.dumps(UserId, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle typing.UserId: attribute lookup UserId on typing failed
======================================================================
ERROR: test_special_attrs (test.test_typing.SpecialAttrsTests) (cls=typing.Concatenate[typing.Any, ~SpecialAttrsP])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4983, in test_special_attrs
s = pickle.dumps(cls, proto)
^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle ~SpecialAttrsP: attribute lookup SpecialAttrsP on typing failed
======================================================================
ERROR: test_pickle (test.test_typing.TypedDictTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4267, in test_pickle
ZZ = pickle.dumps(EmpD, proto)
^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle &lt;class 'typing.EmpD'&gt;: attribute lookup EmpD on typing failed
======================================================================
FAIL: test_repr (test.test_typing.NewTypeCTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3981, in test_repr
self.assertEqual(repr(UserId), f'{__name__}.UserId')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing.UserId' != 'test.test_typing.UserId'
- typing.UserId
+ test.test_typing.UserId
======================================================================
FAIL: test_special_attrs (test.test_typing.NewTypeCTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3970, in test_special_attrs
self.assertEqual(UserId.__module__, __name__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing' != 'test.test_typing'
- typing
+ test.test_typing
======================================================================
FAIL: test_repr (test.test_typing.NewTypePythonTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3981, in test_repr
self.assertEqual(repr(UserId), f'{__name__}.UserId')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing.UserId' != 'test.test_typing.UserId'
- typing.UserId
+ test.test_typing.UserId
======================================================================
FAIL: test_special_attrs (test.test_typing.NewTypePythonTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3970, in test_special_attrs
self.assertEqual(UserId.__module__, __name__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing' != 'test.test_typing'
- typing
+ test.test_typing
======================================================================
FAIL: test_protocols_issubclass (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1033, in test_protocols_issubclass
with self.assertRaises(TypeError):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: TypeError not raised
======================================================================
FAIL: test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 1050, in test_protocols_issubclass_non_callable
with self.assertRaises(TypeError):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: TypeError not raised
======================================================================
FAIL: test_special_attrs2 (test.test_typing.SpecialAttrsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 5007, in test_special_attrs2
self.assertEqual(
^^^^^^^^^^^^^^^^^
AssertionError: 'typing' != 'test.test_typing'
- typing
+ test.test_typing
======================================================================
FAIL: test_basics_functional_syntax (test.test_typing.TypedDictTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4183, in test_basics_functional_syntax
self.assertEqual(Emp.__module__, __name__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing' != 'test.test_typing'
- typing
+ test.test_typing
======================================================================
FAIL: test_basics_keywords_syntax (test.test_typing.TypedDictTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4198, in test_basics_keywords_syntax
self.assertEqual(Emp.__module__, __name__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'typing' != 'test.test_typing'
- typing
+ test.test_typing
----------------------------------------------------------------------
Ran 406 tests in 0.980s
FAILED (failures=9, errors=16, skipped=1)
test_typing failed (16 errors, 9 failures)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 2.9 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_30"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_30_1" aria-expanded="false" aria-controls="job_list___sub_collapse_30_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_30_1"><button class="btn btn-outline-success"><span class="job_id">30 : Job ID b526a1782a4645509996d50b65ee0704</span></button></div></a><div aria-labelledby="job_list___sub_heading_30_1" data-parent="#job_list___sub_accordion_30" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_30_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1604" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1604, 43), end pos: (1604, 44)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 11</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1601,7 +1601,7 @@
"""
def __init__(self, origin, metadata):
if isinstance(origin, _AnnotatedAlias):
- metadata = origin.__metadata__ + metadata
+ metadata = origin.__metadata__ * metadata
origin = origin.__origin__
super().__init__(origin, origin)
self.__metadata__ = metadata</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40965æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 7.78 Run tests sequentially
0:00:00 load avg: 7.78 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ERROR
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ERROR
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_flatten (test.test_typing.AnnotatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4457, in test_flatten
A = Annotated[Annotated[int, 4], 5]
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 319, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1685, in __class_getitem__
return _AnnotatedAlias(origin, metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1604, in __init__
metadata = origin.__metadata__ * metadata
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_subst (test.test_typing.AnnotatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4590, in test_subst
self.assertEqual(S[Annotated[int, dec]], Annotated[int, dec, dec2])
~^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 319, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1073, in __getitem__
return self.copy_with(tuple(new_args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1612, in copy_with
return _AnnotatedAlias(new_type, self.__metadata__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1604, in __init__
metadata = origin.__metadata__ * metadata
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
----------------------------------------------------------------------
Ran 406 tests in 0.976s
FAILED (errors=2, skipped=1)
test_typing failed (2 errors)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.6 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_31"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_31_1" aria-expanded="false" aria-controls="job_list___sub_collapse_31_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_31_1"><button class="btn btn-outline-success"><span class="job_id">31 : Job ID 0a3b9df4ef434bd39af2a6e2149ac82c</span></button></div></a><div aria-labelledby="job_list___sub_heading_31_1" data-parent="#job_list___sub_accordion_31" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_31_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1622" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1622, 42), end pos: (1622, 43)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 12</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1619,7 +1619,7 @@
def __reduce__(self):
return operator.getitem, (
- Annotated, (self.__origin__,) + self.__metadata__
+ Annotated, (self.__origin__,) * self.__metadata__
)
def __eq__(self, other):</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40968æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 8.04 Run tests sequentially
0:00:00 load avg: 8.04 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ...
test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Any) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Union[int, str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Optional[str]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Tuple[int, ...]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Callable[[str], bytes]) ... ERROR
test_pickle (test.test_typing.AnnotatedTests) ... ERROR
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ...
test_special_attrs (test.test_typing.SpecialAttrsTests) (cls=typing.Annotated[typing.Any, 'Annotation']) ... ERROR
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Any)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Union[int, str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Optional[str])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Tuple[int, ...])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=0, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=1, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=2, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=3, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=4, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests) (protocol=5, type=typing.Callable[[str], bytes])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4563, in test_pickle
pickled = pickle.dumps(x, prot)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_pickle (test.test_typing.AnnotatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4577, in test_pickle
z = pickle.dumps(G, proto)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
======================================================================
ERROR: test_special_attrs (test.test_typing.SpecialAttrsTests) (cls=typing.Annotated[typing.Any, 'Annotation'])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 4983, in test_special_attrs
s = pickle.dumps(cls, proto)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1622, in __reduce__
Annotated, (self.__origin__,) * self.__metadata__
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
----------------------------------------------------------------------
Ran 406 tests in 1.241s
FAILED (errors=32, skipped=1)
test_typing failed (32 errors)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 3.5 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_32"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_32_1" aria-expanded="false" aria-controls="job_list___sub_collapse_32_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_32_1"><button class="btn btn-outline-success"><span class="job_id">32 : Job ID 55597b038779490e819113a485fa2756</span></button></div></a><div aria-labelledby="job_list___sub_heading_32_1" data-parent="#job_list___sub_accordion_32" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_32_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1922" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1922, 32), end pos: (1922, 33)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 13</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1919,7 +1919,7 @@
get_args(Callable[[], T][int]) == ([], int)
"""
if isinstance(tp, _AnnotatedAlias):
- return (tp.__origin__,) + tp.__metadata__
+ return (tp.__origin__,) * tp.__metadata__
if isinstance(tp, (_GenericAlias, GenericAlias)):
res = tp.__args__
if (tp.__origin__ is collections.abc.Callable</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40971æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 7.71 Run tests sequentially
0:00:00 load avg: 7.71 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ERROR
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ok
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_attrs (test.test_typing.SpecialAttrsTests) ... ok
test_special_attrs2 (test.test_typing.SpecialAttrsTests) ... ok
test_c_functions (test.test_typing.TestModules) ... ok
test_py_functions (test.test_typing.TestModules) ... ok
test_basics (test.test_typing.TupleTests) ... ok
test_equality (test.test_typing.TupleTests) ... ok
test_errors (test.test_typing.TupleTests) ... ok
test_repr (test.test_typing.TupleTests) ... ok
test_tuple_instance_type_error (test.test_typing.TupleTests) ... ok
test_tuple_subclass (test.test_typing.TupleTests) ... ok
test_cannot_instantiate (test.test_typing.TypeAliasTests) ... ok
test_cannot_subclass (test.test_typing.TypeAliasTests) ... ok
test_cannot_subscript (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests) ... ok
test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests) ... ok
test_no_isinstance (test.test_typing.TypeAliasTests) ... ok
test_no_issubclass (test.test_typing.TypeAliasTests) ... ok
test_repr (test.test_typing.TypeAliasTests) ... ok
test_basics (test.test_typing.TypeGuardTests) ... ok
test_cannot_init (test.test_typing.TypeGuardTests) ... ok
test_cannot_subclass (test.test_typing.TypeGuardTests) ... ok
test_no_isinstance (test.test_typing.TypeGuardTests) ... ok
test_repr (test.test_typing.TypeGuardTests) ... ok
test_type_basic (test.test_typing.TypeTests) ... ok
test_type_optional (test.test_typing.TypeTests) ... ok
test_type_typevar (test.test_typing.TypeTests) ... ok
test_basic_plain (test.test_typing.TypeVarTests) ... ok
test_bound_errors (test.test_typing.TypeVarTests) ... ok
test_cannot_instantiate_vars (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_var_itself (test.test_typing.TypeVarTests) ... ok
test_cannot_subclass_vars (test.test_typing.TypeVarTests) ... ok
test_constrained_error (test.test_typing.TypeVarTests) ... ok
test_missing__name__ (test.test_typing.TypeVarTests) ... ok
test_no_bivariant (test.test_typing.TypeVarTests) ... ok
test_no_redefinition (test.test_typing.TypeVarTests) ... ok
test_or (test.test_typing.TypeVarTests) ... ok
test_repr (test.test_typing.TypeVarTests) ... ok
test_typevar_instance_type_error (test.test_typing.TypeVarTests) ... ok
test_typevar_subclass_type_error (test.test_typing.TypeVarTests) ... ok
test_union_constrained (test.test_typing.TypeVarTests) ... ok
test_union_unique (test.test_typing.TypeVarTests) ... ok
test_basics_functional_syntax (test.test_typing.TypedDictTests) ... ok
test_basics_keywords_syntax (test.test_typing.TypedDictTests) ... ok
test_get_type_hints (test.test_typing.TypedDictTests) ... ok
test_is_typeddict (test.test_typing.TypedDictTests) ... ok
test_keys_inheritance (test.test_typing.TypedDictTests) ... ok
test_optional (test.test_typing.TypedDictTests) ... ok
test_optional_keys (test.test_typing.TypedDictTests) ... ok
test_pickle (test.test_typing.TypedDictTests) ... ok
test_py36_class_syntax_usage (test.test_typing.TypedDictTests) ... ok
test_total (test.test_typing.TypedDictTests) ... ok
test_typeddict_create_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_errors (test.test_typing.TypedDictTests) ... ok
test_typeddict_special_keyword_names (test.test_typing.TypedDictTests) ... ok
test_basic (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.TypingCallableTests) ... ok
test_callable_instance_works (test.test_typing.TypingCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.TypingCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.TypingCallableTests) ... ok
test_cannot_instantiate (test.test_typing.TypingCallableTests) ... ok
test_concatenate (test.test_typing.TypingCallableTests) ... ok
test_consistency (test.test_typing.TypingCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.TypingCallableTests) ... ok
test_eq_hash (test.test_typing.TypingCallableTests) ... ok
test_errors (test.test_typing.TypingCallableTests) ... ok
test_paramspec (test.test_typing.TypingCallableTests) ... ok
test_pickle (test.test_typing.TypingCallableTests) ... ok
test_repr (test.test_typing.TypingCallableTests) ... ok
test_self_subclass (test.test_typing.TypingCallableTests) ... ok
test_type_erasure (test.test_typing.TypingCallableTests) ... ok
test_var_substitution (test.test_typing.TypingCallableTests) ... ok
test_weakref (test.test_typing.TypingCallableTests) ... ok
test_base_class_kept (test.test_typing.UnionTests) ... ok
test_basics (test.test_typing.UnionTests) ... ok
test_cannot_instantiate (test.test_typing.UnionTests) ... ok
test_cannot_subclass (test.test_typing.UnionTests) ... ok
test_empty (test.test_typing.UnionTests) ... ok
test_etree (test.test_typing.UnionTests) ... ok
test_function_repr_union (test.test_typing.UnionTests) ... ok
test_no_eval_union (test.test_typing.UnionTests) ... ok
test_optional (test.test_typing.UnionTests) ... ok
test_repr (test.test_typing.UnionTests) ... ok
test_single_class_disappears (test.test_typing.UnionTests) ... ok
test_subclass_error (test.test_typing.UnionTests) ... ok
test_union_any (test.test_typing.UnionTests) ... ok
test_union_compare_other (test.test_typing.UnionTests) ... ok
test_union_generalization (test.test_typing.UnionTests) ... ok
test_union_object (test.test_typing.UnionTests) ... ok
test_union_str_pattern (test.test_typing.UnionTests) ... ok
test_union_union (test.test_typing.UnionTests) ... ok
test_unordered (test.test_typing.UnionTests) ... test test_typing failed
ok
======================================================================
ERROR: test_get_args (test.test_typing.GetUtilitiesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 3347, in test_get_args
self.assertEqual(get_args(Annotated[T, 'one', 2, ['three']]), (T, 'one', 2, ['three']))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1922, in get_args
return (tp.__origin__,) * tp.__metadata__
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
----------------------------------------------------------------------
Ran 406 tests in 0.891s
FAILED (errors=1, skipped=1)
test_typing failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 2.8 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_33"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_33_1" aria-expanded="false" aria-controls="job_list___sub_collapse_33_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_33_1"><button class="btn btn-outline-success"><span class="job_id">33 : Job ID de79ab9db23840b3a8ccea99cb02f2b9</span></button></div></a><div aria-labelledby="job_list___sub_heading_33_1" data-parent="#job_list___sub_accordion_33" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_33_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=1960" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (1960, 36), end pos: (1960, 37)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 14</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -1957,7 +1957,7 @@
if isinstance(arg, type):
arg_attrs = arg.__dict__.copy()
for attr, val in arg.__dict__.items():
- if val in arg.__bases__ + (arg,):
+ if val in arg.__bases__ * (arg,):
arg_attrs.pop(attr)
for obj in arg_attrs.values():
if isinstance(obj, types.FunctionType):</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_40974æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 7.50 Run tests sequentially
0:00:00 load avg: 7.50 [1/1] test_typing
test test_typing crashed -- Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "&lt;frozen importlib._bootstrap&gt;", line 1206, in _gcd_import
File "&lt;frozen importlib._bootstrap&gt;", line 1178, in _find_and_load
File "&lt;frozen importlib._bootstrap&gt;", line 1149, in _find_and_load_unlocked
File "&lt;frozen importlib._bootstrap&gt;", line 690, in _load_unlocked
File "&lt;frozen importlib._bootstrap_external&gt;", line 897, in exec_module
File "&lt;frozen importlib._bootstrap&gt;", line 241, in _call_with_frames_removed
File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 2984, in &lt;module&gt;
from test import ann_module, ann_module2, ann_module3, ann_module5, ann_module6
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/test/ann_module2.py", line 29, in &lt;module&gt;
class NTC:
^^^^^^^^^^
File "/Users/sobolev/Desktop/cpython/Lib/typing.py", line 1960, in no_type_check
if val in arg.__bases__ * (arg,):
~~~~~~~~~~~~~~^~~~~~~~
TypeError: can't multiply sequence by non-int of type 'tuple'
test_typing failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 2.4 sec
Tests result: FAILURE
</pre></div></div></div></div></div><div class="mb-1" id="job_list___sub_accordion_34"><div class="card"><a data-toggle="collapse" data-target="#job_list___sub_collapse_34_1" aria-expanded="false" aria-controls="job_list___sub_collapse_34_1" href="#" class="job_list___sub_multi_heading"><div role="alert" class="card-header alert-success" id="job_list___sub_heading_34_1"><button class="btn btn-outline-success"><span class="job_id">34 : Job ID d474e58c0cf54521b38326c6a88cafab</span></button></div></a><div aria-labelledby="job_list___sub_heading_34_1" data-parent="#job_list___sub_accordion_34" class="collapse job_list___sub_multi_collapse" id="job_list___sub_collapse_34_1"><div class="card-body"><div class="work-item"><div class="alert alert-success test-outcome" role="alert"><p>worker outcome: normal</p><p>test outcome: killed</p></div></div><pre class="location"><a href="pycharm://open?file=Lib/typing.py&amp;line=2266" class="text-secondary"><button class="btn btn-outline-dark">Lib/typing.py, start pos: (2266, 78), end pos: (2266, 79)</button></a></pre><pre>operator: core/ReplaceBinaryOperator_Add_Mul, occurrence: 15</pre><div class="alert alert-secondary"><pre class="diff">--- mutation diff ---
--- aLib/typing.py
+++ bLib/typing.py
@@ -2263,7 +2263,7 @@
# update from user namespace without overriding special namedtuple attributes
for key in ns:
if key in _prohibited:
- raise AttributeError("Cannot overwrite NamedTuple attribute " + key)
+ raise AttributeError("Cannot overwrite NamedTuple attribute " * key)
elif key not in _special and key not in nm_tpl._fields:
setattr(nm_tpl, key, ns[key])
return nm_tpl</pre></div><div class="alert alert-secondary"><pre class="diff">== CPython 3.11.0a1+ (heads/main-dirty:074fa57506, Oct 29 2021, 12:03:08) [Clang 11.0.0 (clang-1100.0.33.16)]
== macOS-10.14.6-x86_64-i386-64bit little-endian
== cwd: /Users/sobolev/Desktop/cpython/build/test_python_41023æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 10.26 Run tests sequentially
0:00:00 load avg: 10.26 [1/1] test_typing
test_all (test.test_typing.AllTests) ... ok
test_all_exported_names (test.test_typing.AllTests) ... ok
test_annotated_in_other_types (test.test_typing.AnnotatedTests) ... ok
test_annotated_mro (test.test_typing.AnnotatedTests) ... ok
test_attr_passthrough (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_instance (test.test_typing.AnnotatedTests) ... ok
test_cannot_check_subclass (test.test_typing.AnnotatedTests) ... ok
test_cannot_getattr_typevar (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_forward (test.test_typing.AnnotatedTests) ... ok
test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests) ... ok
test_cannot_subclass (test.test_typing.AnnotatedTests) ... ok
test_flatten (test.test_typing.AnnotatedTests) ... ok
test_hash_eq (test.test_typing.AnnotatedTests) ... ok
test_instantiate (test.test_typing.AnnotatedTests) ... ok
test_instantiate_generic (test.test_typing.AnnotatedTests) ... ok
test_pickle (test.test_typing.AnnotatedTests) ... ok
test_repr (test.test_typing.AnnotatedTests) ... ok
test_specialize (test.test_typing.AnnotatedTests) ... ok
test_subst (test.test_typing.AnnotatedTests) ... ok
test_any_instance_type_error (test.test_typing.AnyTests) ... ok
test_any_subclass_type_error (test.test_typing.AnyTests) ... ok
test_any_works_with_alias (test.test_typing.AnyTests) ... ok
test_cannot_instantiate (test.test_typing.AnyTests) ... ok
test_cannot_subclass (test.test_typing.AnyTests) ... ok
test_errors (test.test_typing.AnyTests) ... ok
test_repr (test.test_typing.AnyTests) ... ok
test_basics (test.test_typing.CastTests) ... ok
test_errors (test.test_typing.CastTests) ... ok
test_basics (test.test_typing.ClassVarTests) ... ok
test_cannot_init (test.test_typing.ClassVarTests) ... ok
test_cannot_subclass (test.test_typing.ClassVarTests) ... ok
test_no_isinstance (test.test_typing.ClassVarTests) ... ok
test_repr (test.test_typing.ClassVarTests) ... ok
test_abstractset (test.test_typing.CollectionsAbcTests) ... ok
test_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_async_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_awaitable (test.test_typing.CollectionsAbcTests) ... ok
test_bytestring (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_chainmap_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_collection (test.test_typing.CollectionsAbcTests) ... ok
test_collections_as_base (test.test_typing.CollectionsAbcTests) ... ok
test_container (test.test_typing.CollectionsAbcTests) ... ok
test_coroutine (test.test_typing.CollectionsAbcTests) ... ok
test_counter (test.test_typing.CollectionsAbcTests) ... ok
test_counter_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_defaultdict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_deque (test.test_typing.CollectionsAbcTests) ... ok
test_deque_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_dict (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_dict_subscribe (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset (test.test_typing.CollectionsAbcTests) ... ok
test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_generator (test.test_typing.CollectionsAbcTests) ... ok
test_hashable (test.test_typing.CollectionsAbcTests) ... ok
test_iterable (test.test_typing.CollectionsAbcTests) ... ok
test_iterator (test.test_typing.CollectionsAbcTests) ... ok
test_list (test.test_typing.CollectionsAbcTests) ... ok
test_list_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_mapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablemapping (test.test_typing.CollectionsAbcTests) ... ok
test_mutablesequence (test.test_typing.CollectionsAbcTests) ... ok
test_mutableset (test.test_typing.CollectionsAbcTests) ... ok
test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_dict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_generator_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_list_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_set_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_ordereddict_subclass (test.test_typing.CollectionsAbcTests) ... ok
test_sequence (test.test_typing.CollectionsAbcTests) ... ok
test_set (test.test_typing.CollectionsAbcTests) ... ok
test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests) ... ok
test_sized (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_async_generator (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_register (test.test_typing.CollectionsAbcTests) ... ok
test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests) ... ok
test_basic (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_type_error (test.test_typing.CollectionsCallableTests) ... ok
test_callable_instance_works (test.test_typing.CollectionsCallableTests) ... ok
test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests) ... ok
test_callable_wrong_forms (test.test_typing.CollectionsCallableTests) ... ok
test_cannot_instantiate (test.test_typing.CollectionsCallableTests) ... ok
test_concatenate (test.test_typing.CollectionsCallableTests) ... ok
test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests) ... ok
test_eq_hash (test.test_typing.CollectionsCallableTests) ... ok
test_errors (test.test_typing.CollectionsCallableTests) ... ok
test_paramspec (test.test_typing.CollectionsCallableTests) ... ok
test_pickle (test.test_typing.CollectionsCallableTests) ... ok
test_repr (test.test_typing.CollectionsCallableTests) ... ok
test_self_subclass (test.test_typing.CollectionsCallableTests) ... ok
test_type_erasure (test.test_typing.CollectionsCallableTests) ... ok
test_var_substitution (test.test_typing.CollectionsCallableTests) ... ok
test_weakref (test.test_typing.CollectionsCallableTests) ... ok
test_basics (test.test_typing.ConcatenateTests) ... ok
test_valid_uses (test.test_typing.ConcatenateTests) ... ok
test_basics (test.test_typing.FinalTests) ... ok
test_cannot_init (test.test_typing.FinalTests) ... ok
test_cannot_subclass (test.test_typing.FinalTests) ... ok
test_final_unmodified (test.test_typing.FinalTests) ... ok
test_no_isinstance (test.test_typing.FinalTests) ... ok
test_repr (test.test_typing.FinalTests) ... ok
test_basics (test.test_typing.ForwardRefTests) ... ok
test_callable_forward (test.test_typing.ForwardRefTests) ... ok
test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests) ... ok
test_default_globals (test.test_typing.ForwardRefTests) ... ok
test_delayed_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_double_forward (test.test_typing.ForwardRefTests) ... ok
test_final_forward_ref (test.test_typing.ForwardRefTests) ... ok
test_forward_equality (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_gth (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_hash (test.test_typing.ForwardRefTests) ... ok
test_forward_equality_namespace (test.test_typing.ForwardRefTests) ... ok
test_forward_recursion_actually (test.test_typing.ForwardRefTests) ... ok
test_forward_repr (test.test_typing.ForwardRefTests) ... ok
test_forwardref_instance_type_error (test.test_typing.ForwardRefTests) ... ok
test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests) ... ok
test_meta_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_name_error (test.test_typing.ForwardRefTests) ... ok
test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_class (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests) ... ok
test_no_type_check_no_bases (test.test_typing.ForwardRefTests) ... ok
test_or (test.test_typing.ForwardRefTests) ... ok
test_syntax_error (test.test_typing.ForwardRefTests) ... ok
test_tuple_forward (test.test_typing.ForwardRefTests) ... ok
test_type_error (test.test_typing.ForwardRefTests) ... ok
test_union_forward (test.test_typing.ForwardRefTests) ... ok
test_union_forward_recursion (test.test_typing.ForwardRefTests) ... ok
test_abc_bases (test.test_typing.GenericTests) ... ok
test_abc_registry_kept (test.test_typing.GenericTests) ... ok
test_all_repr_eq_any (test.test_typing.GenericTests) ... ok
test_basics (test.test_typing.GenericTests) ... ok
test_chain_repr (test.test_typing.GenericTests) ... ok
test_copy_and_deepcopy (test.test_typing.GenericTests) ... ok
test_copy_generic_instances (test.test_typing.GenericTests) ... ok
test_dict (test.test_typing.GenericTests) ... ok
test_eq_1 (test.test_typing.GenericTests) ... ok
test_eq_2 (test.test_typing.GenericTests) ... ok
test_errors (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_eq (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_repr (test.test_typing.GenericTests) ... ok
test_extended_generic_rules_subclassing (test.test_typing.GenericTests) ... ok
test_fail_with_bare_generic (test.test_typing.GenericTests) ... ok
test_fail_with_bare_union (test.test_typing.GenericTests) ... ok
test_false_subclasses (test.test_typing.GenericTests) ... ok
test_generic_errors (test.test_typing.GenericTests) ... ok
test_generic_forward_ref (test.test_typing.GenericTests) ... ok
test_generic_hashes (test.test_typing.GenericTests) ... ok
test_immutability_by_copy_and_pickle (test.test_typing.GenericTests) ... ok
test_implicit_any (test.test_typing.GenericTests) ... ok
test_init (test.test_typing.GenericTests) ... ok
test_init_subclass (test.test_typing.GenericTests) ... ok
test_init_subclass_super_called (test.test_typing.GenericTests) ... ok
test_multi_subscr_base (test.test_typing.GenericTests) ... ok
test_multiple_bases (test.test_typing.GenericTests) ... ok
test_multiple_inheritance (test.test_typing.GenericTests) ... ok
test_multiple_inheritance_special (test.test_typing.GenericTests) ... ok
test_naive_runtime_checks (test.test_typing.GenericTests) ... ok
test_nested (test.test_typing.GenericTests) ... ok
test_new_no_args (test.test_typing.GenericTests) ... ok
test_new_repr (test.test_typing.GenericTests) ... ok
test_new_repr_bare (test.test_typing.GenericTests) ... ok
test_new_repr_complex (test.test_typing.GenericTests) ... ok
test_new_with_args (test.test_typing.GenericTests) ... ok
test_new_with_args2 (test.test_typing.GenericTests) ... ok
test_orig_bases (test.test_typing.GenericTests) ... ok
test_parameterized_slots (test.test_typing.GenericTests) ... ok
test_parameterized_slots_dict (test.test_typing.GenericTests) ... ok
test_pickle (test.test_typing.GenericTests) ... ok
test_repr (test.test_typing.GenericTests) ... ok
test_repr_2 (test.test_typing.GenericTests) ... ok
test_subclass_special_form (test.test_typing.GenericTests) ... ok
test_subscript_meta (test.test_typing.GenericTests) ... ok
test_subscripted_generics_as_proxies (test.test_typing.GenericTests) ... ok
test_type_erasure (test.test_typing.GenericTests) ... ok
test_type_erasure_special (test.test_typing.GenericTests) ... ok
test_weakref_all (test.test_typing.GenericTests) ... ok
test_forward_ref_and_final (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules (test.test_typing.GetTypeHintTests) ... ok
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... skipped 'known bug'
test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests) ... ok
test_previous_behavior (test.test_typing.GetTypeHintTests) ... ok
test_respect_no_type_check (test.test_typing.GetTypeHintTests) ... ok
test_top_level_class_var (test.test_typing.GetTypeHintTests) ... ok
test_get_args (test.test_typing.GetUtilitiesTestCase) ... ok
test_get_origin (test.test_typing.GetUtilitiesTestCase) ... ok
test_binaryio (test.test_typing.IOTests) ... ok
test_io (test.test_typing.IOTests) ... ok
test_io_submodule (test.test_typing.IOTests) ... ok
test_textio (test.test_typing.IOTests) ... ok
test_args (test.test_typing.LiteralTests) ... ok
test_basics (test.test_typing.LiteralTests) ... ok
test_cannot_init (test.test_typing.LiteralTests) ... ok
test_equal (test.test_typing.LiteralTests) ... ok
test_flatten (test.test_typing.LiteralTests) ... ok
test_hash (test.test_typing.LiteralTests) ... ok
test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests) ... ok
test_literals_inside_other_types (test.test_typing.LiteralTests) ... ok
test_no_isinstance_or_issubclass (test.test_typing.LiteralTests) ... ok
test_no_multiple_subscripts (test.test_typing.LiteralTests) ... ok
test_no_subclassing (test.test_typing.LiteralTests) ... ok
test_repr (test.test_typing.LiteralTests) ... ok
test_annotation_usage (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_default (test.test_typing.NamedTupleTests) ... ok
test_annotation_usage_with_methods (test.test_typing.NamedTupleTests) ... ERROR
test_basics (test.test_typing.NamedTupleTests) ... ok
test_copy_and_pickle (test.test_typing.NamedTupleTests) ... ok
test_empty_namedtuple (test.test_typing.NamedTupleTests) ... ok
test_multiple_inheritance (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_errors (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_pyversion (test.test_typing.NamedTupleTests) ... ok
test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests) ... ok
test_basic (test.test_typing.NewTypeCTests) ... ok
test_errors (test.test_typing.NewTypeCTests) ... ok
test_missing__name__ (test.test_typing.NewTypeCTests) ... ok
test_or (test.test_typing.NewTypeCTests) ... ok
test_pickle (test.test_typing.NewTypeCTests) ... ok
test_repr (test.test_typing.NewTypeCTests) ... ok
test_special_attrs (test.test_typing.NewTypeCTests) ... ok
test_basic (test.test_typing.NewTypePythonTests) ... ok
test_errors (test.test_typing.NewTypePythonTests) ... ok
test_missing__name__ (test.test_typing.NewTypePythonTests) ... ok
test_or (test.test_typing.NewTypePythonTests) ... ok
test_pickle (test.test_typing.NewTypePythonTests) ... ok
test_repr (test.test_typing.NewTypePythonTests) ... ok
test_special_attrs (test.test_typing.NewTypePythonTests) ... ok
test_cannot_instantiate (test.test_typing.NoReturnTests) ... ok
test_cannot_subclass (test.test_typing.NoReturnTests) ... ok
test_noreturn_instance_type_error (test.test_typing.NoReturnTests) ... ok
test_noreturn_subclass_type_error (test.test_typing.NoReturnTests) ... ok
test_not_generic (test.test_typing.NoReturnTests) ... ok
test_repr (test.test_typing.NoReturnTests) ... ok
test_async_contextmanager (test.test_typing.OtherABCTests) ... ok
test_contextmanager (test.test_typing.OtherABCTests) ... ok
test_overload_fails (test.test_typing.OverloadTests) ... ok
test_overload_succeeds (test.test_typing.OverloadTests) ... ok
test_args_kwargs (test.test_typing.ParamSpecTests) ... ok
test_basic_plain (test.test_typing.ParamSpecTests) ... ok
test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests) ... ok
test_no_paramspec_in__parameters__ (test.test_typing.ParamSpecTests) ... ok
test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests) ... ok
test_user_generics (test.test_typing.ParamSpecTests) ... ok
test_valid_uses (test.test_typing.ParamSpecTests) ... ok
test_basic_protocol (test.test_typing.ProtocolTests) ... ok
test_builtin_protocol_allowlist (test.test_typing.ProtocolTests) ... ok
test_bundled_protocol_instance_works (test.test_typing.ProtocolTests) ... ok
test_cannot_instantiate_abstract (test.test_typing.ProtocolTests) ... ok
test_collections_protocols_allowed (test.test_typing.ProtocolTests) ... ok
test_custom_subclasshook (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols (test.test_typing.ProtocolTests) ... ok
test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests) ... ok
test_everything_implements_empty_protocol (test.test_typing.ProtocolTests) ... ok
test_function_implements_protocol (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_eq (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_repr (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests) ... ok
test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests) ... ok
test_init_called (test.test_typing.ProtocolTests) ... ok
test_issubclass_fails_correctly (test.test_typing.ProtocolTests) ... ok
test_new_called (test.test_typing.ProtocolTests) ... ok
test_no_inheritance_from_nominal (test.test_typing.ProtocolTests) ... ok
test_no_instantiation (test.test_typing.ProtocolTests) ... ok
test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests) ... ok
test_non_protocol_subclasses (test.test_typing.ProtocolTests) ... ok
test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests) ... ok
test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests) ... ok
test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests) ... ok
test_none_treated_correctly (test.test_typing.ProtocolTests) ... ok
test_protocol_checks_after_subscript (test.test_typing.ProtocolTests) ... ok
test_protocols_bad_subscripts (test.test_typing.ProtocolTests) ... ok
test_protocols_in_unions (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_init (test.test_typing.ProtocolTests) ... ok
test_protocols_isinstance_py36 (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass (test.test_typing.ProtocolTests) ... ok
test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests) ... ok
test_protocols_pickleable (test.test_typing.ProtocolTests) ... ok
test_protocols_support_register (test.test_typing.ProtocolTests) ... ok
test_reversible (test.test_typing.ProtocolTests) ... ok
test_subprotocols_extending (test.test_typing.ProtocolTests) ... ok
test_subprotocols_merging (test.test_typing.ProtocolTests) ... ok
test_super_call_init (test.test_typing.ProtocolTests) ... ok
test_supports_abs (test.test_typing.ProtocolTests) ... ok
test_supports_bytes (test.test_typing.ProtocolTests) ... ok
test_supports_complex (test.test_typing.ProtocolTests) ... ok
test_supports_float (test.test_typing.ProtocolTests) ... ok
test_supports_index (test.test_typing.ProtocolTests) ... ok
test_supports_int (test.test_typing.ProtocolTests) ... ok
test_supports_round (test.test_typing.ProtocolTests) ... ok
test_alias_equality (test.test_typing.RETests) ... ok
test_basics (test.test_typing.RETests) ... ok
test_cannot_subclass (test.test_typing.RETests) ... ok
test_errors (test.test_typing.RETests) ... ok
test_re_submodule (test.test_typing.RETests) ... ok
test_repr (test.test_typing.RETests) ... ok
test_special_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment