Beispiel #1
0
def test_class_last_el(output=True):
    config = Config()
    config.instance_repr_enable = False
    rm = ReprMethodClassNewStyle()
    nc = NormalClassNewStyle()
    return pp([rm, nc, rm], output, config=config)
Beispiel #2
0
def test_class_all_repr_disable(output=True):
    config = Config()
    config.instance_repr_enable = False
    return pp(class_repr, output, config=config)
Beispiel #3
0
def test_class_last_el(output=True):
    config = Config()
    config.instance_repr_enable = False
    rm = ReprMethodClassNewStyle()
    nc = NormalClassNewStyle()
    return pp([rm, nc, rm], output, config=config)