Closed eLvErDe closed 6 years ago
Unit tests currently fails to run on Python 2.7 because unittest.TestCase.assertWarns does not exist.
This PR disable two test using assertWarns on python << 3.2.
https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertWarns
Oh, I missed that sorry, it's being ran through pythonX.Y -m unittest discover
pythonX.Y -m unittest discover
(Creating Debian/Ubuntu package)
Unit tests currently fails to run on Python 2.7 because unittest.TestCase.assertWarns does not exist.
This PR disable two test using assertWarns on python << 3.2.
https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertWarns