为什么type()函数在这里不起作用?

我正在学习Python,并且试图查看函数的行为是否符合我的预期。但是,我遇到了一个问题:

import numpy as np

def test():
     return np.array([1, 2, 3])

type(test())

I would expect the output to be numpy.ndarray. However, I get nothing when I run this script.

I have tried different things instead of the type function; for example, print(test()) worked as expected. But for some reason the type function doesn't seem to work. Could you please enlightment me as to why? Thanks!