From: W. Trevor King Date: Tue, 17 Aug 2010 10:56:23 +0000 (-0400) Subject: Remove export and distance sections from test/tutorial.py (they duplicate other test... X-Git-Url: http://git.tremily.us/?p=hooke.git;a=commitdiff_plain;h=b67e975dfaaa3ad7537859a2fe99d84ff568167e Remove export and distance sections from test/tutorial.py (they duplicate other test/*s). --- diff --git a/test/tutorial.py b/test/tutorial.py index d352697..7e9ec33 100644 --- a/test/tutorial.py +++ b/test/tutorial.py @@ -223,23 +223,11 @@ See :file:`note.py`. *Exporting curves* ->>> export_already_exists = os.path.exists('mycurve.dat') ->>> export_already_exists -False ->>> h = r.run_lines(h, ['export_block --output mycurve.dat']) -Success - ->>> os.path.isfile('mycurve.dat') -True ->>> if export_already_exists == False: -... os.remove('mycurve.dat') +See :file:`export_block.py`. *Measuring distances and forces* ->>> h = r.run_lines(h, ['delta 300 500']) # doctest: +ELLIPSIS -[('z piezo (m)', -4.913...e-08), ('deflection (m)', -2.834...e-08)] -Success - +See :file:`delta.py`. *Worm like chain and freely jointed chain fitting*