Ignore Python 2 specific code in tests

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

No files matched your search

+1 -6
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