'If a L{FlattenerError} is created with a L{Tag} instance without source
location information, only the tagName is included in the string
representation of the exception.'

def test_tagWithoutLocation(self):

    self.assertEqual(str(FlattenerError(RuntimeError('reason'), [Tag('span')], [])), 'Exception    while    flattening:\n        Tag    <span>\nRuntimeError:    reason\n')
