(self)
| 39 | # generates FPs on stdlib code that uses hasattr for duck-typing checks. |
| 40 | assert not_fires("attr=request.GET.get('f'); hasattr(obj,attr)", "HASATTR837") |
| 41 | def test_constant_safe(self): |
| 42 | assert not_fires("hasattr(obj,'is_active')", "HASATTR837") |
| 43 | |
| 44 | # --- VARS840 --- |
| 45 | class TestVars840: |
nothing calls this directly
no test coverage detected