diff options
author | Craig Citro <craigcitro@gmail.com> | 2017-03-27 09:39:27 -0700 |
---|---|---|
committer | Jon Wayne Parrott <jonwayne@google.com> | 2017-03-27 09:39:27 -0700 |
commit | a3cf56b659e067dea8ead933f81e4a6f42d30ed8 (patch) | |
tree | d47b704b34b54fb9db38cbab9f2ab4b0cfb5e7e8 /tests | |
parent | c055e7f7f5b7f7f9fe8ba12bbf7e297fccc2b59b (diff) | |
download | oauth2client-a3cf56b659e067dea8ead933f81e4a6f42d30ed8.tar.gz |
Make `tox -e flake8` pass. (#705)
This library is in maintenance mode, but no reason to leave travis broken. Two
disables and a better `except` in a test and it's green again.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_file.py b/tests/test_file.py index a443035..80324d6 100644 --- a/tests/test_file.py +++ b/tests/test_file.py @@ -38,7 +38,7 @@ from tests import http_mock try: # Python2 from future_builtins import oct -except: # pragma: NO COVER +except ImportError: # pragma: NO COVER pass _filehandle, FILENAME = tempfile.mkstemp('oauth2client_test.data') |