[pypy-svn] r24170 - pypy/dist/pypy/translator/squeak/test
nik at codespeak.net
nik at codespeak.net
Thu Mar 9 13:37:26 CET 2006
Author: nik
Date: Thu Mar 9 13:37:25 2006
New Revision: 24170
Modified:
pypy/dist/pypy/translator/squeak/test/test_squeaktrans.py
Log:
fix a test to actually test what it's supposed to ...
Modified: pypy/dist/pypy/translator/squeak/test/test_squeaktrans.py
==============================================================================
--- pypy/dist/pypy/translator/squeak/test/test_squeaktrans.py (original)
+++ pypy/dist/pypy/translator/squeak/test/test_squeaktrans.py Thu Mar 9 13:37:25 2006
@@ -145,11 +145,11 @@
def test_nameclash_camel_case(self):
class ASomething:
def m(self, i): return 1 + i
- class Asomething:
+ class A_Something:
def m(self, i): return 2 + i
def f():
- x = ASomething().m(0) + Asomething().m(0)
- return x + ASomething().m(0) + Asomething().m(0)
+ x = ASomething().m(0) + A_Something().m(0)
+ return x + ASomething().m(0) + A_Something().m(0)
assert self.run_on_squeak(f) == "6"
def test_nameclash_functions(self):
More information about the Pypy-commit
mailing list