Merge branch 'master' of https://github.com/pgajdos/pyclipper into pgajdos-master

This commit is contained in:
Cosimo Lupo 2021-10-19 14:30:49 +02:00
commit 7b6924ffb2
2 changed files with 5 additions and 2 deletions

View file

@ -97,6 +97,6 @@ setup(
'cython>=0.28', 'cython>=0.28',
'setuptools_scm>=1.11.1', 'setuptools_scm>=1.11.1',
] + pytest_runner, ] + pytest_runner,
tests_require=['unittest2', 'pytest'], tests_require=['pytest'],
cmdclass=cmdclass, cmdclass=cmdclass,
) )

View file

@ -4,7 +4,10 @@ Tests for Pyclipper wrapper library.
""" """
from __future__ import print_function from __future__ import print_function
from unittest2 import TestCase, main try:
from unittest2 import TestCase, main
except ImportError:
from unittest import TestCase, main
import sys import sys
if sys.version_info < (3,): if sys.version_info < (3,):