From a8a6cd023f373e1814274a0af29d5ce395b92b71 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Sat, 16 May 2009 20:28:44 -0300 Subject: [PATCH] renaming in testcase, 'mutable' is a C++ keyword. --- tests/run/typedfieldbug_T303.pyx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() -- 2.26.2