From 0f3e4f44741d41be1cc59fd919014b46da68b33a Mon Sep 17 00:00:00 2001
From: Ross Whitfield <whitfieldre@ornl.gov>
Date: Tue, 23 Feb 2016 14:21:48 -0500
Subject: [PATCH] Disable AlignComponents usage example tests because it fails
 on RHEL6.

Refs #15394
---
 docs/source/algorithms/AlignComponents-v1.rst | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/docs/source/algorithms/AlignComponents-v1.rst b/docs/source/algorithms/AlignComponents-v1.rst
index b2d3172597b..3e0beddd735 100644
--- a/docs/source/algorithms/AlignComponents-v1.rst
+++ b/docs/source/algorithms/AlignComponents-v1.rst
@@ -60,7 +60,7 @@ Usage
 
 **Example - Align the X and Z position of bank26 in POWGEN:**
 
-.. testcode:: position
+.. code-block:: python
 
       LoadCalFile(InstrumentName="PG3",
             CalFilename="PG3_golden.cal",
@@ -81,14 +81,14 @@ Usage
 
 Output:
 
-.. testoutput:: position
+.. code-block:: none
 
     Start position is [1.54436,0.863271,-1.9297]
     Final position is [1.50591,0.863271,-1.92734]
 
 **Example - Align the Y rotation of bank26 and bank46 in POWGEN:**
 
-.. testcode:: rotation
+.. code-block:: python
 
       LoadCalFile(InstrumentName="PG3",
 	    CalFilename="PG3_golden.cal",
@@ -114,7 +114,9 @@ Output:
       print "Final bank26 rotation is [{:.3f}.{:.3f},{:.3f}]".format(bank26Rot[0], bank26Rot[1], bank26Rot[2])
       print "Final bank46 rotation is [{:.3f}.{:.3f},{:.3f}]".format(bank46Rot[0], bank46Rot[1], bank46Rot[2])
 
-.. testoutput:: rotation
+Output:
+
+.. code-block:: none
 
       Start bank26 rotation is [-24.061.0.120,18.016]
       Start bank46 rotation is [-41.092.0.061,17.795]
@@ -123,7 +125,7 @@ Output:
 
 **Example - Align sample position in POWGEN:**
 
-.. testcode:: sample
+.. code-block:: python
 
       LoadCalFile(InstrumentName="PG3",
 	    CalFilename="PG3_golden.cal",
@@ -142,7 +144,9 @@ Output:
             FitSamplePosition=True)
       print "Final sample position is {:.5f}".format(mtd['ws'].getInstrument().getSample().getPos().getZ())
 
-.. testoutput:: sample
+Output:
+
+.. code-block:: none
 
       Start sample position is 0.0
       Final sample position is 0.02826
-- 
GitLab