(self)
| 108 | ) |
| 109 | |
| 110 | def test_const_expr_role(self): |
| 111 | t = true() |
| 112 | is_(expect(roles.ConstExprRole, t), t) |
| 113 | |
| 114 | f = false() |
| 115 | is_(expect(roles.ConstExprRole, f), f) |
| 116 | |
| 117 | is_instance_of(expect(roles.ConstExprRole, True), True_) |
| 118 | |
| 119 | is_instance_of(expect(roles.ConstExprRole, False), False_) |
| 120 | |
| 121 | is_instance_of(expect(roles.ConstExprRole, None), Null) |
| 122 | |
| 123 | def test_truncated_label_role(self): |
| 124 | is_instance_of( |
nothing calls this directly
no test coverage detected