def METHOD_NAME(self):
    for value in ["not a timestamp", 1234]:
        actual = gho.GithubObject._makeDatetimeAttribute(value)
        self.assertEqual(gho._BadAttribute, type(actual))
        with self.assertRaises(Framework.github.BadAttributeException) as e:
            value = actual.value
        self.assertEqual(value, e.exception.actual_value)
        self.assertEqual(str, e.exception.expected_type)
        if isinstance(value, str):
            self.assertIsNotNone(e.exception.transformation_exception)
        else:
            self.assertIsNone(e.exception.transformation_exception)