[pypy-commit] pypy py3k: python 3 seems to want to call this a class

MichaelBlume noreply at buildbot.pypy.org
Mon Mar 12 20:01:47 CET 2012


Author: Mike Blume <mike at loggly.com>
Branch: py3k
Changeset: r53331:f934e480a990
Date: 2012-03-12 11:35 -0700
http://bitbucket.org/pypy/pypy/changeset/f934e480a990/

Log:	python 3 seems to want to call this a class

diff --git a/pypy/module/_lsprof/test/test_cprofile.py b/pypy/module/_lsprof/test/test_cprofile.py
--- a/pypy/module/_lsprof/test/test_cprofile.py
+++ b/pypy/module/_lsprof/test/test_cprofile.py
@@ -12,7 +12,7 @@
 
     def test_repr(self):
         import _lsprof
-        assert repr(_lsprof.Profiler) == "<type '_lsprof.Profiler'>"
+        assert repr(_lsprof.Profiler) == "<class '_lsprof.Profiler'>"
 
     def test_direct(self):
         import _lsprof


More information about the pypy-commit mailing list