(self)
| 245 | |
| 246 | @pytest.mark.xfail(reason="Need decision on default stat") |
| 247 | def test_stat_default(self): |
| 248 | |
| 249 | class MarkWithDefaultStat(Mark): |
| 250 | default_stat = Stat |
| 251 | |
| 252 | p = Plot().add(MarkWithDefaultStat()) |
| 253 | layer, = p._layers |
| 254 | assert layer["stat"].__class__ is Stat |
| 255 | |
| 256 | def test_stat_nondefault(self): |
| 257 |
nothing calls this directly
no test coverage detected