Files
linuxcncAllWasm/tests/interp/python-self/test.ngc
2026-08-20 06:17:39 +08:00

16 lines
303 B
Plaintext

;py,import interpreter
; pass value to Python and store in a self.attribute
o<retainparam1> call [25.0]
; now check it's still there
o<checkparam1_retained> call
; since 'self' is aliased to 'interpreter.this'
; the same value must show up here too:
;py,assert interpreter.this.param1 == 25.0
M2