import test_next_greater as t for n in [x for x in dir(t) if x.startswith("test_")]: getattr(t, n)() print("PASS", n) print("ALL PASS")