def test_grammar_typechecking(self):

        grammar_types = [('major_ticks', [PropertySet]),
                         ('minor_ticks', [PropertySet]),
                         ('labels', [PropertySet]),
                         ('axis', [PropertySet])]

        assert_grammar_typechecking(grammar_types, AxisProperties())
Verify that non-integer and out-of-range port numbers are rejected.
dataset/ETHPy150Open wrobstory/vincent/tests/test_vega.py/TestAxisProperties.test_grammar_typechecking--crossover with--dataset/ETHPy150Open twisted/nevow/nevow/test/test_athena.py/WidgetSubcommandTests.test_invalidPortOption