瀏覽代碼

pep8: put pytest skip marker after imports

Antoine Beaupré 9 年之前
父節點
當前提交
b9c474d187
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      borg/testsuite/convert.py

+ 3 - 2
borg/testsuite/convert.py

@@ -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):