Unverified Commit 1d1bfa93 authored by Nick Draper's avatar Nick Draper Committed by GitHub
Browse files

Merge pull request #28336 from mantidproject/27995_add_commented_out_py3_refl_test_code

Re-add commented out python 3 test code
parents 1a39f6b2 67d2905b
......@@ -135,15 +135,13 @@ class ReflectometryBackgroundSubtractionTest(unittest.TestCase):
'OutputWorkspace': 'output'}
self._assert_run_algorithm_throws(args)
# TODO: This test fails in python 2. It can be re-added when we
# move fully to python 3.
#def test_AveragePixelFit_error_peakRange_outside_spectra(self):
# args = {'InputWorkspace' : 'workspace_with_peak',
# 'ProcessingInstructions' : '1-7',
# 'BackgroundCalculationMethod' : 'AveragePixelFit',
# 'PeakRange' : '3-9',
# 'OutputWorkspace': 'output'}
# self._assert_run_algorithm_invalid_property(args)
def test_AveragePixelFit_error_peakRange_outside_spectra(self):
args = {'InputWorkspace' : 'workspace_with_peak',
'ProcessingInstructions' : '1-7',
'BackgroundCalculationMethod' : 'AveragePixelFit',
'PeakRange' : '3-9',
'OutputWorkspace': 'output'}
self._assert_run_algorithm_invalid_property(args)
def test_AveragePixelFit_error_peakRange_two_ranges(self):
args = {'InputWorkspace' : 'workspace_with_peak',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment