Author: Mike Blume <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to