pep8: put pytest skip marker after imports

This commit is contained in:
Antoine Beaupré 2015-10-01 08:59:01 -04:00
parent 4a85f2d0f5
commit b9c474d187
1 changed files with 3 additions and 2 deletions

View File

@ -10,8 +10,6 @@ try:
import attic.helpers
except ImportError:
attic = None
pytestmark = pytest.mark.skipif(attic is None,
reason='cannot find an attic install')
from ..converter import AtticRepositoryConverter, AtticKeyfileKey
from ..helpers import get_keys_dir
@ -19,6 +17,9 @@ from ..key import KeyfileKey
from ..repository import Repository, MAGIC
from . import BaseTestCase
pytestmark = pytest.mark.skipif(attic is None,
reason='cannot find an attic install')
class ConversionTestCase(BaseTestCase):