瀏覽代碼

move import on top of file

Damien Accorsi 7 年之前
父節點
當前提交
3caf895d30
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      tracim/tracim/tests/library/test_resetpassword.py

+ 4 - 1
tracim/tracim/tests/library/test_resetpassword.py 查看文件

@@ -1,14 +1,17 @@
1 1
 # -*- coding: utf-8 -*-
2
+
3
+import sys
4
+
2 5
 from nose.tools import assert_raises
3 6
 from resetpassword.lib import _plain_send_mail
4 7
 
5 8
 from tracim.tests import TestStandard
6 9
 
10
+
7 11
 class TestSerializers(TestStandard):
8 12
     application_under_test = 'nosmtp'
9 13
 
10 14
     def test_unit__plain_send_mail__ok(self):
11
-        import sys
12 15
         if sys.version_info >= (3, 5):
13 16
             from smtplib import SMTPNotSupportedError
14 17