Source code for message_ix_models.tests.report.test_plot

from message_ix_models.report.plot import LabelFirst


[docs] class TestLabelFirst: def test_call(self) -> None: labeler = LabelFirst("foo {}") assert ["foo 0", "1", "2", "3"] == list(map(labeler, range(4)))