`make_class()` does not fail when `sys._getframe()` is not available.
(self, monkeypatch)
| 1478 | assert not isinstance(x, _CountingAttr) |
| 1479 | |
| 1480 | def test_missing_sys_getframe(self, monkeypatch): |
| 1481 | class="st">""" |
| 1482 | `make_class()` does not fail when `sys._getframe()` is not available. |
| 1483 | class="st">""" |
| 1484 | monkeypatch.delattr(sys, class="st">"_getframe") |
| 1485 | C = make_class(class="st">"C", [class="st">"x"]) |
| 1486 | |
| 1487 | assert 1 == len(C.__attrs_attrs__) |
| 1488 | |
| 1489 | def test_make_class_ordered(self): |
| 1490 | class="st">""" |
nothing calls this directly
no test coverage detected