From ef630f6f2787d620b6159f53c1a3fbb6fb9efb11 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 4 Jan 2014 17:40:27 -0600 Subject: fix test on Python 3 --- test_six.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_six.py b/test_six.py index 2bacd0e..d4d6f9b 100644 --- a/test_six.py +++ b/test_six.py @@ -187,9 +187,9 @@ def test_import_moves_error_3(): def test_from_imports(): from six.moves.queue import Queue - assert isinstance(Queue, types.ClassType) + assert isinstance(Queue, six.class_types) from six.moves.configparser import ConfigParser - assert isinstance(ConfigParser, types.ClassType) + assert isinstance(ConfigParser, six.class_types) def test_filter(): -- cgit v1.2.1