def test_type():
 with pytest.raises(NotImplementedError):
  hug.types.Type()('value')

def test_type ( ) : with pytest . raises ( NotImplementedError ) : hug . types . Type ( ) ( 'value' )
test to ensure the abstract type object cant be used .