From: Lisandro Dalcin Date: Sat, 16 May 2009 23:28:44 +0000 (-0300) Subject: renaming in testcase, 'mutable' is a C++ keyword. X-Git-Tag: 0.11.2.rc1~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a8a6cd023f373e1814274a0af29d5ce395b92b71;p=cython.git renaming in testcase, 'mutable' is a C++ keyword. --- diff --git a/tests/run/typedfieldbug_T303.pyx b/tests/run/typedfieldbug_T303.pyx index 40245cb3..d892b8ec 100644 --- a/tests/run/typedfieldbug_T303.pyx +++ b/tests/run/typedfieldbug_T303.pyx @@ -15,16 +15,16 @@ cdef class MyClass: double var_d DoubleTypedef var_nf cdef public: - DoubleTypedef mutable + DoubleTypedef var_mutable def __init__(self): self.var_d = 42.0 self.var_nf = 42.0 - self.mutable = 1 + self.var_mutable = 1 def f(): c = MyClass() - c.mutable = 42.0 - print c.var_d, c.var_nf, c.mutable + c.var_mutable = 42.0 + print c.var_d, c.var_nf, c.var_mutable def readonly(): c = MyClass()