diff --git a/fs/fsx.py b/fs/fsx.py index da38183fe..715d6719e 100644 --- a/fs/fsx.py +++ b/fs/fsx.py @@ -102,9 +102,8 @@ def setUp(self): if not os.path.exists(self.output): os.makedirs(self.output) - - url = self.params.get( - 'url', default='https://github.com/linux-test-project/ltp/archive/master.zip') + repo = 'https: // github.com/linux-test-project/ltp/archive/master.zip' + url = self.params.get('url', default=repo) match = next((ext for ext in [".zip", ".tar"] if ext in url), None) tarball = '' if match: