瀏覽代碼

Removed now useless check for version_info >= 2.7

Signed-off-by: Bastian Venthur <[email protected]>
Bastian Venthur 5 年之前
父節點
當前提交
c44746d92d
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      tests/__init__.py

+ 1 - 6
tests/__init__.py

@@ -1,9 +1,4 @@
-import sys
-
-if sys.version_info >= (2, 7):
-    import unittest  # NOQA
-else:
-    import unittest2 as unittest  # NOQA
+import unittest  # NOQA
 
 try:
     from unittest import mock