Ignore Python 2 specific code in tests

This commit is contained in:
Dave Halter
2020-07-25 01:41:33 +02:00
parent 7c68ba4c45
commit 6eb6ac0bb2
5 changed files with 7 additions and 45 deletions

View File

@@ -1,9 +1,4 @@
try:
from itertools import zip_longest
except ImportError:
# Python 2
from itertools import izip_longest as zip_longest
from itertools import zip_longest
from codecs import BOM_UTF8
import pytest