'Test datetime representation (destructive)'

def testDateTimeRepresentDestructive(self):

    assertEqual = self.assertEqual
    assertRaises = self.assertRaises
    represent = S3DateTime.datetime_represent
    dt = None
    dtstr = represent(dt)
    assertEqual(dtstr, current.messages.NONE)
    with assertRaises(TypeError):
        dtstr = represent(15)
    with assertRaises(TypeError):
        dtstr = represent('Invalid    Type', utc=True)
