diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-08-11 13:02:09 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-08-11 13:02:09 +0000 |
commit | c078a3026caeffeb84be7ec1c81d8d13f508c7c3 (patch) | |
tree | 295cf73efda5a5aaae57cd14c586d931ec6efca3 /py/test/Ice/operations/TestI.py | |
parent | - Removed latency oneway batch with 2k and 10k tests because there is no (diff) | |
download | ice-c078a3026caeffeb84be7ec1c81d8d13f508c7c3.tar.bz2 ice-c078a3026caeffeb84be7ec1c81d8d13f508c7c3.tar.xz ice-c078a3026caeffeb84be7ec1c81d8d13f508c7c3.zip |
partial solution for bug 943
Diffstat (limited to 'py/test/Ice/operations/TestI.py')
-rw-r--r-- | py/test/Ice/operations/TestI.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/py/test/Ice/operations/TestI.py b/py/test/Ice/operations/TestI.py index 196cc1e39b2..816cea80ed5 100644 --- a/py/test/Ice/operations/TestI.py +++ b/py/test/Ice/operations/TestI.py @@ -48,10 +48,11 @@ class MyDerivedClassI(Test.MyDerivedClass): return (p2, p1) def opByteS(self, p1, p2, current=None): - p3 = p1[0:] + # By default sequence<byte> maps to a string. + p3 = map(ord, p1) p3.reverse() - r = p1[0:] - r.extend(p2) + r = map(ord, p1) + r.extend(map(ord, p2)) return (r, p3) def opBoolS(self, p1, p2, current=None): |