'Test re-implementing print() for a custom type with @overload.'

def test_print(self):

    cfunc = jit(nopython=True)(print_usecase)
    with captured_stdout():
        cfunc(MyDummy())
        self.assertEqual(sys.stdout.getvalue(), 'hello!\n')
