From 6c4f5846c8e21d6e48347b7e661edb72ffabb9f1 Mon Sep 17 00:00:00 2001 From: nkryptic Date: Tue, 12 Mar 2013 01:08:59 -0400 Subject: Add full Python 3 compatibility (Closes #10, #20, #49). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also: - update travis.yml to build against 2.6-2.7 and 3.2-3.3 - Switch to relative imports Signed-off-by: Raphaƫl Barrois --- tests/compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/compat.py b/tests/compat.py index 769ffd4..6a1eb80 100644 --- a/tests/compat.py +++ b/tests/compat.py @@ -30,7 +30,7 @@ try: except ImportError: import unittest -if is_python2: +if sys.version_info[0:2] < (3, 3): import mock else: from unittest import mock -- cgit v1.2.3