summaryrefslogtreecommitdiffstats
path: root/xml/test_pywrap/test_prop2.py
diff options
context:
space:
mode:
Diffstat (limited to 'xml/test_pywrap/test_prop2.py')
-rw-r--r--xml/test_pywrap/test_prop2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml/test_pywrap/test_prop2.py b/xml/test_pywrap/test_prop2.py
index a831fdd..69a2190 100644
--- a/xml/test_pywrap/test_prop2.py
+++ b/xml/test_pywrap/test_prop2.py
@@ -4,5 +4,5 @@ def read_from_register():
return pcipywrap.get_property('/registers/fpga/reg1') / 2
def write_to_register(value):
- pcipywrap.set_property('/registers/fpga/reg1', value*3)
+ pcipywrap.set_property(value*3, '/registers/fpga/reg1')