We can't bump the min mypy on this maintenance branch because it doesn't
support Python 3.8, therefore ignore warnings in this file to
accommodate the min supported mypy version 1.14.
module = [
"tests.scripts.spiketest",
"tests.types.test_range",
+ "tests.types.test_uuid",
]
warn_unused_ignores = false # for mypy 1.14 on Python 3.8
assert res.is_safe == uuid_val.is_safe
# https://github.com/python/typeshed/issues/8832
slots = ("int", "is_safe", "__weakref__")
- assert (
- UUID.__slots__ == slots # type: ignore[attr-defined]
- ), "UUID structure changed"
+ assert UUID.__slots__ == slots, "UUID structure changed"
@pytest.mark.slow