__________________ nullable_foreign_key_with_init_overridden ___________________
/home/asottile/workspace/django-stubs/tests/typecheck/fields/test_related.yml:806:
E pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E Actual:
E main:2: note: Revealed type is "myapp.models.B" (diff)
E Expected:
E main:2: note: Revealed type is "Union[myapp.models.B, None]" (diff)
E Alignment of first line difference:
E E: ...te: Revealed type is "Union[myapp.models.B, None]"
E A: ...te: Revealed type is "myapp.models.B"
E ^
test failing prior to change:
the
FK
example matches a similar one in sentry