"isort was told to use the settings_path: invalid/path as the base directory or file that represents the starting point of config file discovery, but it does not exist." ...
self.assertEqual(str(error), "isort was told to use the settings_path: invalid/path as the base directory or file that represents the starting point of config file discovery, but it does not exist.") ...