Skip to content

Commit

Permalink
Exclude pyfits/astropy import tries from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
olebole committed May 4, 2015
1 parent 467b304 commit 5eca2e7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cpl/dfs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys
try:
try: # pragma: no cover
from astropy.io import fits
except ImportError:
import pyfits as fits
Expand Down
2 changes: 1 addition & 1 deletion cpl/frames.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import absolute_import
import os
try:
try: # pragma: no cover
from astropy.io import fits
except ImportError:
import pyfits as fits
Expand Down
2 changes: 1 addition & 1 deletion cpl/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import warnings
import textwrap

try:
try: # pragma: no cover
from astropy.io import fits
except ImportError:
import pyfits as fits
Expand Down
2 changes: 1 addition & 1 deletion cpl/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import signal
import logging

try:
try: # pragma: no cover
from astropy.io import fits
except ImportError:
import pyfits as fits
Expand Down

0 comments on commit 5eca2e7

Please sign in to comment.