def METHOD_NAME(self):
    # Test that NoneType cannot be used as value for Dict
    @njit
    def foo():
        k = {1: None}
        return k
    with self.assertRaises(TypingError) as raises:
        foo()
    self.assertIn(
        "Dict.value_type cannot be of type none",
        str(raises.exception),
    )