Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
Adding no-cover pragma to test_file for Py3 compat imports.
Browse files Browse the repository at this point in the history
The import always succeeds in Python 2.7, which is the only
version where coverage reports are generated.
  • Loading branch information
dhermes committed Sep 22, 2015
1 parent 8c546e8 commit 9ed0701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
try:
# Python2
from future_builtins import oct
except:
except: # pragma: NO COVER
pass

__author__ = '[email protected] (Joe Gregorio)'
Expand Down

0 comments on commit 9ed0701

Please sign in to comment.