def assertPath(self, path): try: c = Config(path) except IOError as e: self.fail(unicode(e)) c._drop()