diff options
author | Wim Lavrijsen <WLavrijsen@lbl.gov> | 2020-11-16 18:15:20 -0800 |
---|---|---|
committer | Wim Lavrijsen <WLavrijsen@lbl.gov> | 2020-11-16 18:15:20 -0800 |
commit | bdacf9e1911ffbab5215e99b76d6a786494770dd (patch) | |
tree | 963a39441fe9d45a20676976efe26751be4d04df | |
parent | cover anonymous enums in name cleanup (diff) | |
download | pypy-bdacf9e1911ffbab5215e99b76d6a786494770dd.tar.gz pypy-bdacf9e1911ffbab5215e99b76d6a786494770dd.tar.bz2 pypy-bdacf9e1911ffbab5215e99b76d6a786494770dd.zip |
fix test, as TString has moved to CppyyLegacy::TString
-rw-r--r-- | pypy/module/_cppyy/test/test_pythonization.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pypy/module/_cppyy/test/test_pythonization.py b/pypy/module/_cppyy/test/test_pythonization.py index 72e09d4faa..14fecf18f5 100644 --- a/pypy/module/_cppyy/test/test_pythonization.py +++ b/pypy/module/_cppyy/test/test_pythonization.py @@ -172,9 +172,9 @@ class AppTestPYTHONIZATION: import _cppyy as cppyy def root_pythonizor(klass, name): - if name == 'TString': + if name == 'CppyyLegacy::TString': klass.__len__ = klass.Length cppyy.py.add_pythonization(root_pythonizor) - assert len(cppyy.gbl.TString("aap")) == 3 + assert len(cppyy.gbl.CppyyLegacy.TString("aap")) == 3 |