======================================================================
FAIL: test_all (traits.stubs_tests.test_all.TestAnnotations.test_all) (file_path=PosixPath('/Users/mdickinson/.venvs/traits/lib/python3.13/site-packages/traits/stubs_tests/examples/Any.py'))
Run mypy for all files contained in traits.stubs_tests/examples
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/mdickinson/.venvs/traits/lib/python3.13/site-packages/traits/stubs_tests/test_all.py", line 44, in test_all
self.assertRaisesMypyError(file_path)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/Users/mdickinson/.venvs/traits/lib/python3.13/site-packages/traits/stubs_tests/util.py", line 178, in assertRaisesMypyError
raise AssertionError(
...<3 lines>...
)
AssertionError: expected errors on lines 58, but no mypy errors were reported for those lines
I'm guessing that this is related to a change in mypy version.
Details of the failure:
I'm guessing that this is related to a change in mypy version.