Sfoglia il codice sorgente

Removed now useless check for version_info >= 2.7

Signed-off-by: Bastian Venthur <[email protected]>
Bastian Venthur 6 anni fa
parent
commit
c44746d92d
1 ha cambiato i file con 1 aggiunte e 6 eliminazioni
  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