Andreas Wacknitz
2024-03-24 3df02058fb3d48a999bbc8d5d56c2910fbc249a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
py$(PYV): commands[0]> python -m coverage run -m pytest
============================= test session starts ==============================
platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python
cachedir: .tox/py$(PYV)/.pytest_cache
rootdir: $(@D)
configfile: pyproject.toml
testpaths: tests
collecting ... collected 453 items
 
tests/mypy/test_type_annotations.py::test_negative PASSED
tests/mypy/test_type_annotations.py::test_positive PASSED
tests/test_checkers.py::TestAbstractSet::test_bad_type PASSED
tests/test_checkers.py::TestAbstractSet::test_custom_type PASSED
tests/test_checkers.py::TestAbstractSet::test_first_check_fail PASSED
tests/test_checkers.py::TestAbstractSet::test_full_check_fail PASSED
tests/test_checkers.py::TestAnnotated::test_fail PASSED
tests/test_checkers.py::TestAnnotated::test_valid PASSED
tests/test_checkers.py::TestAnyStr::test_bad_type PASSED
tests/test_checkers.py::TestAnyStr::test_valid[bytes] PASSED
tests/test_checkers.py::TestAnyStr::test_valid[str] PASSED
tests/test_checkers.py::TestBytesLike::test_fail PASSED
tests/test_checkers.py::TestBytesLike::test_valid[bytearray] PASSED
tests/test_checkers.py::TestBytesLike::test_valid[bytes] PASSED
tests/test_checkers.py::TestBytesLike::test_valid[memoryview] PASSED
tests/test_checkers.py::TestCallable::test_any_args PASSED
tests/test_checkers.py::TestCallable::test_bad_type PASSED
tests/test_checkers.py::TestCallable::test_bound_method PASSED
tests/test_checkers.py::TestCallable::test_builtin PASSED
tests/test_checkers.py::TestCallable::test_class PASSED
tests/test_checkers.py::TestCallable::test_concatenate PASSED
tests/test_checkers.py::TestCallable::test_defaults PASSED
tests/test_checkers.py::TestCallable::test_exact_arg_count PASSED
tests/test_checkers.py::TestCallable::test_mandatory_kwonlyargs PASSED
tests/test_checkers.py::TestCallable::test_partial_bound_method PASSED
tests/test_checkers.py::TestCallable::test_partial_class PASSED
tests/test_checkers.py::TestCallable::test_plain PASSED
tests/test_checkers.py::TestCallable::test_positional_only_arg_with_default PASSED
tests/test_checkers.py::TestCallable::test_too_few_arguments PASSED
tests/test_checkers.py::TestCallable::test_too_many_arguments PASSED
tests/test_checkers.py::TestComplexNumber::test_bad_type PASSED
tests/test_checkers.py::TestComplexNumber::test_valid[complex] PASSED
tests/test_checkers.py::TestComplexNumber::test_valid[float] PASSED
tests/test_checkers.py::TestComplexNumber::test_valid[int] PASSED
tests/test_checkers.py::TestDict::test_bad_key_type PASSED
tests/test_checkers.py::TestDict::test_bad_key_type_full_check PASSED
tests/test_checkers.py::TestDict::test_bad_type PASSED
tests/test_checkers.py::TestDict::test_bad_value_type PASSED
tests/test_checkers.py::TestDict::test_bad_value_type_full_check PASSED
tests/test_checkers.py::TestDict::test_custom_dict_generator_items PASSED
tests/test_checkers.py::TestFloat::test_bad_type PASSED
tests/test_checkers.py::TestFloat::test_valid[float] PASSED
tests/test_checkers.py::TestFloat::test_valid[int] PASSED
tests/test_checkers.py::TestFrozenSet::test_bad_type PASSED
tests/test_checkers.py::TestFrozenSet::test_first_check_empty PASSED
tests/test_checkers.py::TestFrozenSet::test_first_check_fail PASSED
tests/test_checkers.py::TestFrozenSet::test_full_check_fail PASSED
tests/test_checkers.py::TestFrozenSet::test_set_against_frozenset PASSED
tests/test_checkers.py::TestFrozenSet::test_valid PASSED
tests/test_checkers.py::TestIO::test_binary_fail[direct] PASSED
tests/test_checkers.py::TestIO::test_binary_fail[parametrized] PASSED
tests/test_checkers.py::TestIO::test_binary_real_file PASSED
tests/test_checkers.py::TestIO::test_binary_valid[direct] PASSED
tests/test_checkers.py::TestIO::test_binary_valid[parametrized] PASSED
tests/test_checkers.py::TestIO::test_text_fail[direct] PASSED
tests/test_checkers.py::TestIO::test_text_fail[parametrized] PASSED
tests/test_checkers.py::TestIO::test_text_real_file PASSED
tests/test_checkers.py::TestIO::test_text_valid[direct] PASSED
tests/test_checkers.py::TestIO::test_text_valid[parametrized] PASSED
tests/test_checkers.py::TestList::test_bad_type PASSED
tests/test_checkers.py::TestList::test_first_check_empty PASSED
tests/test_checkers.py::TestList::test_first_check_fail PASSED
tests/test_checkers.py::TestList::test_first_check_success PASSED
tests/test_checkers.py::TestList::test_full_check_fail PASSED
tests/test_checkers.py::TestLiteral::test_literal_illegal_value PASSED
tests/test_checkers.py::TestLiteral::test_literal_int_as_bool PASSED
tests/test_checkers.py::TestLiteral::test_literal_nested PASSED
tests/test_checkers.py::TestLiteral::test_literal_union PASSED
tests/test_checkers.py::TestLiteralString::test_fail PASSED
tests/test_checkers.py::TestLiteralString::test_valid PASSED
tests/test_checkers.py::TestMapping::test_any_value_type PASSED
tests/test_checkers.py::TestMapping::test_bad_key_type PASSED
tests/test_checkers.py::TestMapping::test_bad_key_type_full_check PASSED
tests/test_checkers.py::TestMapping::test_bad_type PASSED
tests/test_checkers.py::TestMapping::test_bad_value_type PASSED
tests/test_checkers.py::TestMapping::test_bad_value_type_full_check PASSED
tests/test_checkers.py::TestMutableMapping::test_bad_key_type PASSED
tests/test_checkers.py::TestMutableMapping::test_bad_type PASSED
tests/test_checkers.py::TestMutableMapping::test_bad_value_type PASSED
tests/test_checkers.py::TestNamedTuple::test_type_mismatch PASSED
tests/test_checkers.py::TestNamedTuple::test_valid PASSED
tests/test_checkers.py::TestNamedTuple::test_wrong_field_type PASSED
tests/test_checkers.py::TestNewType::test_generic_bad_value PASSED
tests/test_checkers.py::TestNewType::test_generic_valid PASSED
tests/test_checkers.py::TestNewType::test_simple_bad_value PASSED
tests/test_checkers.py::TestNewType::test_simple_valid PASSED
tests/test_checkers.py::TestProtocol::test_fail PASSED
tests/test_checkers.py::TestProtocol::test_fail_non_method_members PASSED
tests/test_checkers.py::TestProtocol::test_protocol PASSED
tests/test_checkers.py::TestProtocol::test_protocol_warns_on_static PASSED
tests/test_checkers.py::TestRecursiveType::test_fail PASSED
tests/test_checkers.py::TestRecursiveType::test_valid PASSED
tests/test_checkers.py::TestSequence::test_bad_type PASSED
tests/test_checkers.py::TestSequence::test_first_check_empty PASSED
tests/test_checkers.py::TestSequence::test_first_check_fail PASSED
tests/test_checkers.py::TestSequence::test_first_check_success[list] PASSED
tests/test_checkers.py::TestSequence::test_first_check_success[tuple] PASSED
tests/test_checkers.py::TestSequence::test_full_check_fail PASSED
tests/test_checkers.py::TestSet::test_bad_type PASSED
tests/test_checkers.py::TestSet::test_first_check_empty PASSED
tests/test_checkers.py::TestSet::test_first_check_fail PASSED
tests/test_checkers.py::TestSet::test_full_check_fail PASSED
tests/test_checkers.py::TestSet::test_valid PASSED
tests/test_checkers.py::TestTuple::test_bad_element[builtin] PASSED
tests/test_checkers.py::TestTuple::test_bad_element[typing] PASSED
tests/test_checkers.py::TestTuple::test_bad_type[builtin] PASSED
tests/test_checkers.py::TestTuple::test_bad_type[typing] PASSED
tests/test_checkers.py::TestTuple::test_ellipsis_bad_element[builtin] PASSED
tests/test_checkers.py::TestTuple::test_ellipsis_bad_element[typing] PASSED
tests/test_checkers.py::TestTuple::test_ellipsis_bad_element_full_check[builtin] PASSED
tests/test_checkers.py::TestTuple::test_ellipsis_bad_element_full_check[typing] PASSED
tests/test_checkers.py::TestTuple::test_empty_tuple[builtin] PASSED
tests/test_checkers.py::TestTuple::test_empty_tuple[typing] PASSED
tests/test_checkers.py::TestTuple::test_empty_tuple_fail[builtin] PASSED
tests/test_checkers.py::TestTuple::test_empty_tuple_fail[typing] PASSED
tests/test_checkers.py::TestTuple::test_first_check_empty[builtin] PASSED
tests/test_checkers.py::TestTuple::test_first_check_empty[typing] PASSED
tests/test_checkers.py::TestTuple::test_too_few_elements[builtin] PASSED
tests/test_checkers.py::TestTuple::test_too_few_elements[typing] PASSED
tests/test_checkers.py::TestTuple::test_too_many_elements[builtin] PASSED
tests/test_checkers.py::TestTuple::test_too_many_elements[typing] PASSED
tests/test_checkers.py::TestTuple::test_unparametrized_tuple[builtin] PASSED
tests/test_checkers.py::TestTuple::test_unparametrized_tuple[typing] PASSED
tests/test_checkers.py::TestTuple::test_unparametrized_tuple_fail[builtin] PASSED
tests/test_checkers.py::TestTuple::test_unparametrized_tuple_fail[typing] PASSED
tests/test_checkers.py::TestType::test_any PASSED
tests/test_checkers.py::TestType::test_generic_aliase[check_against1] PASSED
tests/test_checkers.py::TestType::test_generic_aliase[type] PASSED
tests/test_checkers.py::TestType::test_parametrized[exact] PASSED
tests/test_checkers.py::TestType::test_parametrized[subclass] PASSED
tests/test_checkers.py::TestType::test_parametrized_fail PASSED
tests/test_checkers.py::TestType::test_union[int] PASSED
tests/test_checkers.py::TestType::test_union[str] PASSED
tests/test_checkers.py::TestType::test_union_any PASSED
tests/test_checkers.py::TestType::test_union_fail PASSED
tests/test_checkers.py::TestType::test_union_typevar PASSED
tests/test_checkers.py::TestType::test_unparametrized[annotation0] PASSED
tests/test_checkers.py::TestType::test_unparametrized[type] PASSED
tests/test_checkers.py::TestType::test_unparametrized_fail[annotation0] PASSED
tests/test_checkers.py::TestType::test_unparametrized_fail[type] PASSED
tests/test_checkers.py::TestTypeGuard::test_fail PASSED
tests/test_checkers.py::TestTypeGuard::test_valid PASSED
tests/test_checkers.py::TestTypedDict::test_inconsistent_keys_invalid[typing] PASSED
tests/test_checkers.py::TestTypedDict::test_inconsistent_keys_invalid[typing_extensions] PASSED
tests/test_checkers.py::TestTypedDict::test_notrequired_fail[typing] SKIPPED
tests/test_checkers.py::TestTypedDict::test_notrequired_fail[typing_extensions] PASSED
tests/test_checkers.py::TestTypedDict::test_notrequired_pass[typing] SKIPPED
tests/test_checkers.py::TestTypedDict::test_notrequired_pass[typing_extensions] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing-correct] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing-missing_x] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing-missing_y_error] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing-missing_y_ok] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing-not_dict] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing-unknown_key] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing-wrong_x] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing-wrong_y] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing_extensions-correct] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing_extensions-missing_x] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing_extensions-missing_y_error] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing_extensions-missing_y_ok] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing_extensions-not_dict] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing_extensions-unknown_key] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing_extensions-wrong_x] PASSED
tests/test_checkers.py::TestTypedDict::test_typed_dict[typing_extensions-wrong_y] PASSED
tests/test_checkers.py::TestTypevar::test_bound PASSED
tests/test_checkers.py::TestTypevar::test_bound_fail PASSED
tests/test_checkers.py::TestTypevar::test_collection_constraints[int] PASSED
tests/test_checkers.py::TestTypevar::test_collection_constraints[str] PASSED
tests/test_checkers.py::TestTypevar::test_collection_constraints_fail PASSED
tests/test_checkers.py::TestTypevar::test_constraints_fail PASSED
tests/test_checkers.py::TestUnion::test_typing_type_fail PASSED
tests/test_checkers.py::TestUnion::test_union_fail[bytes-pep484] PASSED
tests/test_checkers.py::TestUnion::test_union_fail[bytes-pep604] SKIPPED
tests/test_checkers.py::TestUnion::test_union_fail[float-pep484] PASSED
tests/test_checkers.py::TestUnion::test_union_fail[float-pep604] SKIPPED
tests/test_checkers.py::TestUnion::test_union_reference_leak PASSED
tests/test_checkers.py::TestUnion::test_valid[int] PASSED
tests/test_checkers.py::TestUnion::test_valid[str] PASSED
tests/test_checkers.py::test_any PASSED
tests/test_checkers.py::test_any_subclass PASSED
tests/test_checkers.py::test_check_against_tuple_failure PASSED
tests/test_checkers.py::test_check_against_tuple_success PASSED
tests/test_checkers.py::test_forward_reference_policy[error] PASSED
tests/test_checkers.py::test_forward_reference_policy[ignore] PASSED
tests/test_checkers.py::test_forward_reference_policy[warn] PASSED
tests/test_checkers.py::test_imported_str_forward_ref PASSED
tests/test_checkers.py::test_none PASSED
tests/test_checkers.py::test_return_checked_value PASSED
tests/test_checkers.py::test_suppressed_checking PASSED
tests/test_checkers.py::test_suppressed_checking_exception PASSED
tests/test_importhook.py::test_blanket_import PASSED
tests/test_importhook.py::test_debug_instrumentation PASSED
tests/test_importhook.py::test_package_name_matching PASSED
tests/test_instrumentation.py::TestGuardedType::test_plain[importhook] PASSED
tests/test_instrumentation.py::TestGuardedType::test_plain[typechecked] PASSED
tests/test_instrumentation.py::TestGuardedType::test_subscript_nested[importhook] PASSED
tests/test_instrumentation.py::TestGuardedType::test_subscript_nested[typechecked] PASSED
tests/test_instrumentation.py::TestGuardedType::test_subscript_toplevel[importhook] PASSED
tests/test_instrumentation.py::TestGuardedType::test_subscript_toplevel[typechecked] PASSED
tests/test_instrumentation.py::TestOptionsOverride::test_forward_ref_policy[importhook] PASSED
tests/test_instrumentation.py::TestOptionsOverride::test_forward_ref_policy[typechecked] PASSED
tests/test_instrumentation.py::TestOptionsOverride::test_inner_class_no_overrides[importhook] PASSED
tests/test_instrumentation.py::TestOptionsOverride::test_inner_class_no_overrides[typechecked] PASSED
tests/test_instrumentation.py::TestOptionsOverride::test_outer_class_typecheck_fail_callback[importhook] PASSED
tests/test_instrumentation.py::TestOptionsOverride::test_outer_class_typecheck_fail_callback[typechecked] PASSED
tests/test_instrumentation.py::TestOptionsOverride::test_override_collection_check_strategy[importhook] PASSED
tests/test_instrumentation.py::TestOptionsOverride::test_override_collection_check_strategy[typechecked] PASSED
tests/test_instrumentation.py::TestOptionsOverride::test_typecheck_fail_callback[importhook] PASSED
tests/test_instrumentation.py::TestOptionsOverride::test_typecheck_fail_callback[typechecked] PASSED
tests/test_instrumentation.py::TestVariableArguments::test_args_fail[importhook] PASSED
tests/test_instrumentation.py::TestVariableArguments::test_args_fail[typechecked] PASSED
tests/test_instrumentation.py::TestVariableArguments::test_kwargs_fail[importhook] PASSED
tests/test_instrumentation.py::TestVariableArguments::test_kwargs_fail[typechecked] PASSED
tests/test_instrumentation.py::TestVariableArguments::test_success[importhook] PASSED
tests/test_instrumentation.py::TestVariableArguments::test_success[typechecked] PASSED
tests/test_instrumentation.py::test_async_func[importhook] PASSED
tests/test_instrumentation.py::test_async_func[typechecked] PASSED
tests/test_instrumentation.py::test_asyncgen_bad_yield_type[importhook] PASSED
tests/test_instrumentation.py::test_asyncgen_bad_yield_type[typechecked] PASSED
tests/test_instrumentation.py::test_asyncgen_valid[importhook] PASSED
tests/test_instrumentation.py::test_asyncgen_valid[typechecked] PASSED
tests/test_instrumentation.py::test_augmented_assign[importhook] PASSED
tests/test_instrumentation.py::test_augmented_assign[typechecked] PASSED
tests/test_instrumentation.py::test_builtin_generic_collections[importhook] PASSED
tests/test_instrumentation.py::test_builtin_generic_collections[typechecked] PASSED
tests/test_instrumentation.py::test_contextmanager[importhook] PASSED
tests/test_instrumentation.py::test_contextmanager[typechecked] PASSED
tests/test_instrumentation.py::test_generator_bad_return_type[importhook] PASSED
tests/test_instrumentation.py::test_generator_bad_return_type[typechecked] PASSED
tests/test_instrumentation.py::test_generator_bad_yield_type[importhook] PASSED
tests/test_instrumentation.py::test_generator_bad_yield_type[typechecked] PASSED
tests/test_instrumentation.py::test_generator_valid[importhook] PASSED
tests/test_instrumentation.py::test_generator_valid[typechecked] PASSED
tests/test_instrumentation.py::test_inner_class_classmethod[importhook] XFAIL
tests/test_instrumentation.py::test_inner_class_classmethod[typechecked] XFAIL
tests/test_instrumentation.py::test_inner_class_method[importhook] XFAIL
tests/test_instrumentation.py::test_inner_class_method[typechecked] XFAIL
tests/test_instrumentation.py::test_inner_class_staticmethod[importhook] XFAIL
tests/test_instrumentation.py::test_inner_class_staticmethod[typechecked] XFAIL
tests/test_instrumentation.py::test_literal[importhook] PASSED
tests/test_instrumentation.py::test_literal[typechecked] PASSED
tests/test_instrumentation.py::test_literal_in_union[importhook] PASSED
tests/test_instrumentation.py::test_literal_in_union[typechecked] PASSED
tests/test_instrumentation.py::test_local_class_instance[importhook] PASSED
tests/test_instrumentation.py::test_local_class_instance[typechecked] PASSED
tests/test_instrumentation.py::test_missing_return[importhook] PASSED
tests/test_instrumentation.py::test_missing_return[typechecked] PASSED
tests/test_instrumentation.py::test_multi_assign_iterable[importhook] PASSED
tests/test_instrumentation.py::test_multi_assign_iterable[typechecked] PASSED
tests/test_instrumentation.py::test_multi_assign_single_value[importhook] PASSED
tests/test_instrumentation.py::test_multi_assign_single_value[typechecked] PASSED
tests/test_instrumentation.py::test_non_type_checked_decorated_func[importhook] PASSED
tests/test_instrumentation.py::test_non_type_checked_decorated_func[typechecked] PASSED
tests/test_instrumentation.py::test_non_type_checked_func[importhook] PASSED
tests/test_instrumentation.py::test_non_type_checked_func[typechecked] PASSED
tests/test_instrumentation.py::test_overload[importhook] PASSED
tests/test_instrumentation.py::test_overload[typechecked] PASSED
tests/test_instrumentation.py::test_paramspec[importhook] PASSED
tests/test_instrumentation.py::test_paramspec[typechecked] PASSED
tests/test_instrumentation.py::test_pep_604_union_args[importhook] PASSED
tests/test_instrumentation.py::test_pep_604_union_args[typechecked] PASSED
tests/test_instrumentation.py::test_pep_604_union_retval[importhook] PASSED
tests/test_instrumentation.py::test_pep_604_union_retval[typechecked] PASSED
tests/test_instrumentation.py::test_suppress_annotated_assignment[importhook] PASSED
tests/test_instrumentation.py::test_suppress_annotated_assignment[typechecked] PASSED
tests/test_instrumentation.py::test_suppress_annotated_multi_assignment[importhook] PASSED
tests/test_instrumentation.py::test_suppress_annotated_multi_assignment[typechecked] PASSED
tests/test_instrumentation.py::test_type_checked_classmethod[importhook] PASSED
tests/test_instrumentation.py::test_type_checked_classmethod[typechecked] PASSED
tests/test_instrumentation.py::test_type_checked_func[importhook] PASSED
tests/test_instrumentation.py::test_type_checked_func[typechecked] PASSED
tests/test_instrumentation.py::test_type_checked_func_error[importhook] PASSED
tests/test_instrumentation.py::test_type_checked_func_error[typechecked] PASSED
tests/test_instrumentation.py::test_type_checked_method[importhook] PASSED
tests/test_instrumentation.py::test_type_checked_method[typechecked] PASSED
tests/test_instrumentation.py::test_type_checked_staticmethod[importhook] PASSED
tests/test_instrumentation.py::test_type_checked_staticmethod[typechecked] PASSED
tests/test_instrumentation.py::test_typeguard_ignored_func[importhook] PASSED
tests/test_instrumentation.py::test_typeguard_ignored_func[typechecked] PASSED
tests/test_instrumentation.py::test_typevar_forwardref[importhook] PASSED
tests/test_instrumentation.py::test_typevar_forwardref[typechecked] PASSED
tests/test_instrumentation.py::test_unpacking_assign[importhook] PASSED
tests/test_instrumentation.py::test_unpacking_assign[typechecked] PASSED
tests/test_instrumentation.py::test_unpacking_assign_from_generator[importhook] PASSED
tests/test_instrumentation.py::test_unpacking_assign_from_generator[typechecked] PASSED
tests/test_instrumentation.py::test_unpacking_assign_star_no_annotation_fail[importhook] PASSED
tests/test_instrumentation.py::test_unpacking_assign_star_no_annotation_fail[typechecked] PASSED
tests/test_instrumentation.py::test_unpacking_assign_star_no_annotation_success[importhook] PASSED
tests/test_instrumentation.py::test_unpacking_assign_star_no_annotation_success[typechecked] PASSED
tests/test_instrumentation.py::test_unpacking_assign_star_with_annotation[importhook] PASSED
tests/test_instrumentation.py::test_unpacking_assign_star_with_annotation[typechecked] PASSED
tests/test_plugins.py::test_custom_type_checker PASSED
tests/test_pytest_plugin.py::test_commandline_options PASSED
tests/test_pytest_plugin.py::test_config_options PASSED
tests/test_suppression.py::test_contextmanager_check_type PASSED
tests/test_suppression.py::test_contextmanager_exception PASSED
tests/test_suppression.py::test_contextmanager_nesting PASSED
tests/test_suppression.py::test_contextmanager_typechecked PASSED
tests/test_suppression.py::test_decorator_check_type PASSED
tests/test_suppression.py::test_decorator_exception PASSED
tests/test_suppression.py::test_decorator_typechecked PASSED
tests/test_transformer.py::TestAssign::test_annotated_assign PASSED
tests/test_transformer.py::TestAssign::test_assignment_annotated_argument PASSED
tests/test_transformer.py::TestAssign::test_assignment_expr PASSED
tests/test_transformer.py::TestAssign::test_assignment_expr_annotated_argument PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[add] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[and] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[div] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[floordiv] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[left_bitshift] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[matrix_multiply] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[multiply] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[or] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[power] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[right_bitshift] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[subtract] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment[xor] PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment_annotated_argument PASSED
tests/test_transformer.py::TestAssign::test_augmented_assignment_non_annotated PASSED
tests/test_transformer.py::TestAssign::test_kwargs_assign PASSED
tests/test_transformer.py::TestAssign::test_multi_assign PASSED
tests/test_transformer.py::TestAssign::test_pep604_assign PASSED
tests/test_transformer.py::TestAssign::test_star_multi_assign PASSED
tests/test_transformer.py::TestAssign::test_varargs_assign PASSED
tests/test_transformer.py::TestAsyncGenerator::test_full PASSED
tests/test_transformer.py::TestAsyncGenerator::test_no_send_type_check PASSED
tests/test_transformer.py::TestAsyncGenerator::test_no_yield_type_check PASSED
tests/test_transformer.py::TestGenerator::test_no_return_type_check PASSED
tests/test_transformer.py::TestGenerator::test_no_send_type_check PASSED
tests/test_transformer.py::TestGenerator::test_yield PASSED
tests/test_transformer.py::TestTypeShadowedByArgument::test_pep604_union PASSED
tests/test_transformer.py::TestTypeShadowedByArgument::test_typing_union PASSED
tests/test_transformer.py::TestTypecheckingImport::test_collection_parameter PASSED
tests/test_transformer.py::TestTypecheckingImport::test_direct_references PASSED
tests/test_transformer.py::TestTypecheckingImport::test_generator_function PASSED
tests/test_transformer.py::TestTypecheckingImport::test_optional PASSED
tests/test_transformer.py::TestTypecheckingImport::test_optional_nested PASSED
tests/test_transformer.py::TestTypecheckingImport::test_pep604_union PASSED
tests/test_transformer.py::TestTypecheckingImport::test_subscript_within_union PASSED
tests/test_transformer.py::TestTypecheckingImport::test_variable_annotations PASSED
tests/test_transformer.py::test_any_in_nested_dict PASSED
tests/test_transformer.py::test_any_in_pep_604_union PASSED
tests/test_transformer.py::test_any_in_union PASSED
tests/test_transformer.py::test_any_only[from typing import Any as AlterAny-AlterAny] PASSED
tests/test_transformer.py::test_any_only[from typing import Any-Any] PASSED
tests/test_transformer.py::test_any_only[from typing_extensions import Any as AlterAny-AlterAny] PASSED
tests/test_transformer.py::test_any_only[from typing_extensions import Any-Any] PASSED
tests/test_transformer.py::test_any_only[import typing as typing_alter-typing_alter.Any] PASSED
tests/test_transformer.py::test_any_only[import typing-typing.Any] PASSED
tests/test_transformer.py::test_any_only[import typing_extensions as typing_alter-typing_alter.Any] PASSED
tests/test_transformer.py::test_argname_typename_conflicts PASSED
tests/test_transformer.py::test_arguments_only PASSED
tests/test_transformer.py::test_avoid_global_names PASSED
tests/test_transformer.py::test_avoid_local_names PASSED
tests/test_transformer.py::test_avoid_nonlocal_names PASSED
tests/test_transformer.py::test_classmethod PASSED
tests/test_transformer.py::test_dont_leave_empty_ast_container_nodes PASSED
tests/test_transformer.py::test_dont_leave_empty_ast_container_nodes_2 PASSED
tests/test_transformer.py::test_dont_parse_annotated_2nd_arg PASSED
tests/test_transformer.py::test_function_local_class_method PASSED
tests/test_transformer.py::test_keyword_only_argument PASSED
tests/test_transformer.py::test_literal PASSED
tests/test_transformer.py::test_local_ann_assignment_typename_conflicts PASSED
tests/test_transformer.py::test_local_assignment_typename_conflicts PASSED
tests/test_transformer.py::test_local_function PASSED
tests/test_transformer.py::test_local_named_expr_typename_conflicts PASSED
tests/test_transformer.py::test_method PASSED
tests/test_transformer.py::test_new_with_explicit_class_name PASSED
tests/test_transformer.py::test_new_with_self PASSED
tests/test_transformer.py::test_no_type_check_decorator[from typeguard import typeguard_ignore-@typeguard_ignore] PASSED
tests/test_transformer.py::test_no_type_check_decorator[from typing import no_type_check-@no_type_check] PASSED
tests/test_transformer.py::test_no_type_check_decorator[import typeguard-@typeguard.typeguard_ignore] PASSED
tests/test_transformer.py::test_no_type_check_decorator[import typing-@typing.no_type_check] PASSED
tests/test_transformer.py::test_pass_only PASSED
tests/test_transformer.py::test_positional_only_argument PASSED
tests/test_transformer.py::test_respect_docstring PASSED
tests/test_transformer.py::test_respect_future_import PASSED
tests/test_transformer.py::test_return_only PASSED
tests/test_transformer.py::test_staticmethod PASSED
tests/test_transformer.py::test_variable_keyword_argument PASSED
tests/test_transformer.py::test_variable_positional_argument PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_async_bad_yield_as_generator PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_async_bad_yield_as_iterable PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_async_bad_yield_as_iterator PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_async_generator_annotated PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_async_generator_bad_send PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_async_generator_bare PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_async_generator_iterate PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_generator_iterable_annotated PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_generator_iterable_bare PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_generator_iterator_annotated PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_generator_iterator_bare PASSED
tests/test_typechecked.py::TestAsyncGenerator::test_return_async_generator PASSED
tests/test_typechecked.py::TestCoroutineFunction::test_any_return PASSED
tests/test_typechecked.py::TestCoroutineFunction::test_bad_arg PASSED
tests/test_typechecked.py::TestCoroutineFunction::test_bad_return PASSED
tests/test_typechecked.py::TestCoroutineFunction::test_success PASSED
tests/test_typechecked.py::TestGenerator::test_bad_yield_as_generator PASSED
tests/test_typechecked.py::TestGenerator::test_bad_yield_as_iterable PASSED
tests/test_typechecked.py::TestGenerator::test_bad_yield_as_iterator PASSED
tests/test_typechecked.py::TestGenerator::test_generator_annotated PASSED
tests/test_typechecked.py::TestGenerator::test_generator_bad_return PASSED
tests/test_typechecked.py::TestGenerator::test_generator_bad_send PASSED
tests/test_typechecked.py::TestGenerator::test_generator_bare PASSED
tests/test_typechecked.py::TestGenerator::test_generator_iterable_annotated PASSED
tests/test_typechecked.py::TestGenerator::test_generator_iterable_bare PASSED
tests/test_typechecked.py::TestGenerator::test_generator_iterator_annotated PASSED
tests/test_typechecked.py::TestGenerator::test_generator_iterator_bare PASSED
tests/test_typechecked.py::TestGenerator::test_return_generator PASSED
tests/test_typechecked.py::TestMock::test_mock_argument PASSED
tests/test_typechecked.py::TestMock::test_return_mock PASSED
tests/test_typechecked.py::TestSelf::test_arg_invalid PASSED
tests/test_typechecked.py::TestSelf::test_arg_valid PASSED
tests/test_typechecked.py::TestSelf::test_classmethod_arg_invalid PASSED
tests/test_typechecked.py::TestSelf::test_classmethod_arg_valid PASSED
tests/test_typechecked.py::TestSelf::test_classmethod_return_invalid PASSED
tests/test_typechecked.py::TestSelf::test_classmethod_return_valid PASSED
tests/test_typechecked.py::TestSelf::test_return_invalid PASSED
tests/test_typechecked.py::TestSelf::test_return_valid PASSED
tests/test_typechecked.py::test_classmethod PASSED
tests/test_typechecked.py::test_debug_instrumentation PASSED
tests/test_typechecked.py::test_decorator_before_classmethod PASSED
tests/test_typechecked.py::test_decorator_before_staticmethod PASSED
tests/test_typechecked.py::test_duplicate_method PASSED
tests/test_typechecked.py::test_existing_method_decorator PASSED
tests/test_typechecked.py::test_getter_setter PASSED
tests/test_typechecked.py::test_keyword_argument_default PASSED
tests/test_typechecked.py::test_reference_imported_name_from_method PASSED
tests/test_typechecked.py::test_retain_dunder_attributes PASSED
tests/test_typechecked.py::test_return_type_annotation_refers_to_nonlocal PASSED
tests/test_typechecked.py::test_staticmethod PASSED
tests/test_typechecked.py::test_typechecked_disabled_in_optimized_mode[OO] PASSED
tests/test_typechecked.py::test_typechecked_disabled_in_optimized_mode[O] PASSED
tests/test_typechecked.py::test_typechecked_disabled_in_optimized_mode[debug] PASSED
tests/test_union_transformer.py::test_union_transformer[str | Union[int | bytes, set]-Union[str, int, bytes, Set]] PASSED
tests/test_union_transformer.py::test_union_transformer[str | int | Callable[..., bytes]-Union[str, int, Callable[..., bytes]]] PASSED
tests/test_union_transformer.py::test_union_transformer[str | int | Callable[[], bytes | set]-Union[str, int, Callable[[], Union[bytes, Set]]]] PASSED
tests/test_union_transformer.py::test_union_transformer[str | int | Callable[[], bytes]-Union[str, int, Callable[[], bytes]]] PASSED
tests/test_union_transformer.py::test_union_transformer[str | int | Literal["It's a string '\\""]-Union[str, int, Literal['It\\'s a string \\'"']]] PASSED
tests/test_union_transformer.py::test_union_transformer[str | int | Literal['foo']-Union[str, int, Literal['foo']]] PASSED
tests/test_union_transformer.py::test_union_transformer[str | int | Literal[-1]-Union[str, int, Literal[-1]]0] PASSED
tests/test_union_transformer.py::test_union_transformer[str | int | Literal[-1]-Union[str, int, Literal[-1]]1] PASSED
tests/test_union_transformer.py::test_union_transformer[str | int | bytes-Union[str, int, bytes]] PASSED
tests/test_union_transformer.py::test_union_transformer[str | int-Union[str, int]] PASSED
tests/test_union_transformer.py::test_union_transformer[tuple[int, ...]-Tuple[int, ...]] PASSED
tests/test_union_transformer.py::test_union_transformer[typing.Tuple | typing.List | Literal[-1]-Union[Tuple, List, Literal[-1]]] PASSED
tests/test_utils.py::test_function_name PASSED
tests/test_utils.py::test_qualified_name[builtintype] PASSED
tests/test_utils.py::test_qualified_name[builtintype_classprefix] PASSED
tests/test_utils.py::test_qualified_name[func] PASSED
tests/test_utils.py::test_qualified_name[instance] PASSED
tests/test_warn_on_error.py::test_check_type PASSED
tests/test_warn_on_error.py::test_typechecked PASSED
 
================================== XFAILURES ===================================
$(@D)/tests/dummymodule.py:118: NameError: name 'Inner' is not defined
$(@D)/tests/dummymodule.py:122: NameError: name 'Inner' is not defined
$(@D)/tests/dummymodule.py:126: NameError: name 'Inner' is not defined
$(@D)/tests/dummymodule.py:118: NameError: name 'Inner' is not defined
$(@D)/tests/dummymodule.py:122: NameError: name 'Inner' is not defined
$(@D)/tests/dummymodule.py:126: NameError: name 'Inner' is not defined
=========================== short test summary info ============================
======== 443 passed, 4 skipped, 6 xfailed ========
  py$(PYV): OK
  congratulations :)