Skip to content

Commit

Permalink
Handle pytest-cov 2.X plugin location
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski committed Sep 14, 2015
1 parent 91be28d commit 2ae2f91
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion starcluster/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
# along with StarCluster. If not, see <http://www.gnu.org/licenses/>.

import pytest
from pytest_cov import CovPlugin
try:
from pytest_cov.plugin import CovPlugin
except:
from pytest_cov import CovPlugin

from starcluster import static
from starcluster import config as sconfig
Expand Down

0 comments on commit 2ae2f91

Please sign in to comment.