Author: Antonio Cuni <[email protected]>
Branch: fix-vmprof-stacklet-switch
Changeset: r93035:1b1bdd6c7f39
Date: 2017-11-15 12:05 +0000
http://bitbucket.org/pypy/pypy/changeset/1b1bdd6c7f39/
Log: fix typo
diff --git a/rpython/rlib/test/test_rstacklet.py
b/rpython/rlib/test/test_rstacklet.py
--- a/rpython/rlib/test/test_rstacklet.py
+++ b/rpython/rlib/test/test_rstacklet.py
@@ -280,7 +280,7 @@
# rvmprof.c does not compile correctly
class FakeVMProfCode(object):
pass
-rvmprof.register_code_object_class(MyCode, lambda code: 'name')
+rvmprof.register_code_object_class(FakeVMProfCode, lambda code: 'name')
@rvmprof.vmprof_execute_code("xcode1", lambda code, num: code)
def fake_vmprof_main(code, num):
return 42
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit