From 9ed0701257ddb88ef264b826fcf5b5565cb0ad86 Mon Sep 17 00:00:00 2001 From: Danny Hermes Date: Tue, 22 Sep 2015 10:19:03 -0700 Subject: [PATCH] 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. --- tests/test_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_file.py b/tests/test_file.py index 677e97e43..8ab4acb73 100644 --- a/tests/test_file.py +++ b/tests/test_file.py @@ -41,7 +41,7 @@ try: # Python2 from future_builtins import oct -except: +except: # pragma: NO COVER pass __author__ = 'jcgregorio@google.com (Joe Gregorio)'