diff --git a/setup.py b/setup.py index a681064..193bffc 100644 --- a/setup.py +++ b/setup.py @@ -17,8 +17,8 @@ import string version, extra = string.split(sys.version, ' ', 1) maj, minor = string.split(version, '.', 1) -if not maj[0] >= '2' and minor[0] >= '3': - msg = ("Py65 requires Python 2.3 or better, you are attempting to " +if not maj[0] >= '2' and minor[0] >= '4': + msg = ("Py65 requires Python 2.4 or better, you are attempting to " "install it using version %s. Please install with a " "supported version" % version) diff --git a/src/py65/tests/__init__.py b/src/py65/tests/__init__.py index 4f7f1b7..a003759 100644 --- a/src/py65/tests/__init__.py +++ b/src/py65/tests/__init__.py @@ -1,14 +1 @@ # this is a package -from unittest import TestCase -def assertTrue(self, value, extra=None): - if not value: - raise AssertionError(extra) -def assertFalse(self, value, extra=None): - if value: - raise AssertionError(extra) - -if not hasattr(TestCase, 'assertTrue'): # Python 2.3.3 - TestCase.assertTrue = assertTrue - -if not hasattr(TestCase, 'assertFalse'): # Pytthon 2.3.3 - TestCase.assertFalse = assertFalse