Convert from "print ..." to "print(...)"
[hooke.git] / test / multiple_curve_analysis.py
index 4bc57262aec99508234d4c6120318083a24017a4..946343308e5fdd5bd75ecd2d29952dbb98e91a6e 100644 (file)
@@ -71,7 +71,7 @@ Verify successful application.
 >>> curve
 <Curve 20071120a_i27_t33.100>
 >>> for c in curve.command_stack:
 >>> curve
 <Curve 20071120a_i27_t33.100>
 >>> for c in curve.command_stack:
-...     print c  # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE, +REPORT_UDIFF
+...     print(c)  # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE, +REPORT_UDIFF
 <CommandMessage zero surface contact point {block: retract}>
 <CommandMessage flat filter peaks {block: retract, min points: 1}>
 <CommandMessage zero surface contact point {block: retract, ignore after last peak info name: flat filter peaks}>
 <CommandMessage zero surface contact point {block: retract}>
 <CommandMessage flat filter peaks {block: retract, min points: 1}>
 <CommandMessage zero surface contact point {block: retract, ignore after last peak info name: flat filter peaks}>
@@ -80,7 +80,7 @@ Verify successful application.
 <CommandMessage flat peaks to polymer peaks {block: retract}>
 <CommandMessage polymer fit peaks {block: retract}>
 >>> for c in curve.data[-1].info['columns']:
 <CommandMessage flat peaks to polymer peaks {block: retract}>
 <CommandMessage polymer fit peaks {block: retract}>
 >>> for c in curve.data[-1].info['columns']:
-...     print c  # doctest: +REPORT_UDIFF
+...     print(c)  # doctest: +REPORT_UDIFF
 z piezo (m)
 deflection (m)
 surface distance (m)
 z piezo (m)
 deflection (m)
 surface distance (m)
@@ -94,7 +94,7 @@ polymer peak 0 (N)
 >>> curve
 <Curve 20071120a_i27_t33.101>
 >>> for c in curve.command_stack:
 >>> curve
 <Curve 20071120a_i27_t33.101>
 >>> for c in curve.command_stack:
-...     print c  # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE, +REPORT_UDIFF
+...     print(c)  # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE, +REPORT_UDIFF
 <CommandMessage zero surface contact point {block: retract}>
 <CommandMessage flat filter peaks {block: retract, min points: 1}>
 <CommandMessage zero surface contact point {block: retract, ignore after last peak info name: flat filter peaks}>
 <CommandMessage zero surface contact point {block: retract}>
 <CommandMessage flat filter peaks {block: retract, min points: 1}>
 <CommandMessage zero surface contact point {block: retract, ignore after last peak info name: flat filter peaks}>
@@ -103,7 +103,7 @@ polymer peak 0 (N)
 <CommandMessage flat peaks to polymer peaks {block: retract}>
 <CommandMessage polymer fit peaks {block: retract}>
 >>> for c in curve.data[-1].info['columns']:
 <CommandMessage flat peaks to polymer peaks {block: retract}>
 <CommandMessage polymer fit peaks {block: retract}>
 >>> for c in curve.data[-1].info['columns']:
-...     print c  # doctest: +REPORT_UDIFF
+...     print(c)  # doctest: +REPORT_UDIFF
 z piezo (m)
 deflection (m)
 surface distance (m)
 z piezo (m)
 deflection (m)
 surface distance (m)