summaryrefslogtreecommitdiff
path: root/tests/test_base.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2019-08-18 18:45:16 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2019-08-24 15:13:09 +0200
commitea98f9fb7c76264df5e600ed597b79713e6cb2ce (patch)
tree22f774aa4b31d97554d550b4ac40dd7c4b7b12f8 /tests/test_base.py
parent65d76a46cb1898d9a0dc5c20baf9e014fe974fd8 (diff)
downloadsemantic-version-ea98f9fb7c76264df5e600ed597b79713e6cb2ce.tar.gz
Drop support for Python<3.4.
Diffstat (limited to 'tests/test_base.py')
-rwxr-xr-xtests/test_base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_base.py b/tests/test_base.py
index a1255c3..7ab3fba 100755
--- a/tests/test_base.py
+++ b/tests/test_base.py
@@ -5,7 +5,7 @@
"""Test the various functions from 'base'."""
-from .compat import unittest, is_python2
+import unittest
from semantic_version import base
@@ -226,7 +226,6 @@ class VersionTestCase(unittest.TestCase):
]))
)
- @unittest.skipIf(is_python2, "Comparisons to other objects are broken in Py2.")
def test_invalid_comparisons(self):
v = base.Version('0.1.0')
with self.assertRaises(TypeError):