def test_json_numpy_encoder_int(self): assert (json.dumps(np.uint(10), cls=utils.JSONNumpyEncoder) == json.dumps(10))