Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
1d1bfa93
Unverified
Commit
1d1bfa93
authored
Mar 20, 2020
by
Nick Draper
Committed by
GitHub
Mar 20, 2020
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/Algorithms/test/ReflectometryBackgroundSubtractionTest.py
View file @
1d1bfa93
...
...
@@ -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'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment