[pypy-commit] pypy fix-vmprof-stacklet-switch: fix typo

antocuni pypy.commits at gmail.com
Wed Nov 15 10:07:22 EST 2017


Author: Antonio Cuni <anto.cuni at gmail.com>
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


More information about the pypy-commit mailing list