From e309ea4899f00527e4b88d86430486a348a7f605 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 8 Sep 2011 11:20:51 -0400 Subject: [PATCH] Add select_config example to get_piezo_config's doctest. --- pypiezo/test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pypiezo/test.py b/pypiezo/test.py index 20a383b..bdc90a2 100644 --- a/pypiezo/test.py +++ b/pypiezo/test.py @@ -91,6 +91,9 @@ def get_piezo_config(storage=None): conversion-origin: 0 inverse-conversion-coefficients: 0, 1 inverse-conversion-origin: 0 + >>> d = p.select_config('inputs', 'deflection') + >>> d['name'] + 'deflection' """ piezo_config = _PiezoConfig(storage=storage) piezo_config['name'] = 'test piezo' -- 2.26.2