Adding no-cover pragma to test_file for Py3 compat imports.
The import always succeeds in Python 2.7, which is the only version where coverage reports are generated.
This commit is contained in:
@@ -41,7 +41,7 @@ from six.moves import http_client
|
||||
try:
|
||||
# Python2
|
||||
from future_builtins import oct
|
||||
except:
|
||||
except: # pragma: NO COVER
|
||||
pass
|
||||
|
||||
__author__ = 'jcgregorio@google.com (Joe Gregorio)'
|
||||
|
||||
Reference in New Issue
Block a user