Drop support for EOL Python 2.6

This commit is contained in:
Hugo
2018-11-24 11:29:07 +02:00
committed by Adrien Vergé
parent 8bdddf6e89
commit c281d48507
8 changed files with 10 additions and 51 deletions

View File

@@ -15,11 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
try:
assert sys.version_info >= (2, 7)
import unittest
except AssertionError:
import unittest2 as unittest
import unittest
from tests.common import RuleTestCase