Attribute definitions do not appear on the class body.
(self, slots)
| 1468 | assert (class="st">"a", class="st">"b") == cls.echo(class="st">"a", class="st">"b") |
| 1469 | |
| 1470 | def test_clean_class(self, slots): |
| 1471 | class="st">""" |
| 1472 | Attribute definitions do not appear on the class body. |
| 1473 | class="st">""" |
| 1474 | C = make_class(class="st">"C", [class="st">"x"], slots=slots) |
| 1475 | |
| 1476 | x = getattr(C, class="st">"x", None) |
| 1477 | |
| 1478 | assert not isinstance(x, _CountingAttr) |
| 1479 | |
| 1480 | def test_missing_sys_getframe(self, monkeypatch): |
| 1481 | class="st">""" |
nothing calls this directly
no test coverage detected