Changes between Initial Version and Version 1 of Ticket #29906, comment 3
- Timestamp:
- Oct 31, 2018, 7:13:05 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29906, comment 3
initial v1 1 Just for the record: it is not via ` `__getattr__``, but because ``__class__`` itself is special property already: https://github.com/django/django/blob/3d4d0a25b299a97314582156a0d63d939662d310/django/utils/functional.py#L3051 Just for the record: it is not via `__getattr__`, but because `__class__` itself is special property already: https://github.com/django/django/blob/3d4d0a25b299a97314582156a0d63d939662d310/django/utils/functional.py#L305 2 2 3 3 I still think that ``isinstance()`` should not throw, but created a fix/workaround for pytest nonetheless.