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