'Test parser construction'

def testConstruction(self):

    assertRaises = self.assertRaises
    c = S3Calendar()
    dtfmt = '%Y-%m-%d'
    with assertRaises(TypeError):
        parser = S3DateTimeParser()
    with assertRaises(TypeError):
        parser = S3DateTimeParser(c)
    with assertRaises(TypeError):
        parser = S3DateTimeParser(None, dtfmt)
    with assertRaises(TypeError):
        parser = S3DateTimeParser(c, 8)
    parser = S3DateTimeParser(c, dtfmt)
