Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
994ef46c
Commit
994ef46c
authored
13 years ago
by
Janik Zikovsky
Browse files
Options
Downloads
Patches
Plain Diff
Refs #4083 apparently I have a newer unittest version
parent
017d71fc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/Framework/PythonAPI/test/MDHistoWorkspaceTest.py
+2
-2
2 additions, 2 deletions
Code/Mantid/Framework/PythonAPI/test/MDHistoWorkspaceTest.py
with
2 additions
and
2 deletions
Code/Mantid/Framework/PythonAPI/test/MDHistoWorkspaceTest.py
+
2
−
2
View file @
994ef46c
...
...
@@ -57,7 +57,7 @@ class MDHistoWorkspaceTest(unittest.TestCase):
A
=
mtd
[
'
A
'
]
B
=
mtd
[
'
B
'
]
C
=
(
A
+
B
)
/
(
A
-
B
)
self
.
assert
IsN
otNone
(
C
)
assert
(
C
is
n
ot
None
)
"""
boolean_workspace = MDHistoWorkspace < MDHistoWorkspace
"""
def
test_comparisons_and_boolean_operations
(
self
):
...
...
@@ -123,7 +123,7 @@ class MDHistoWorkspaceTest(unittest.TestCase):
A
=
mtd
[
'
A
'
]
B
=
mtd
[
'
B
'
]
C
=
(
A
>
B
)
&
(
A
>
123
)
&
(
B
<
2345
)
self
.
assert
IsN
otNone
(
C
)
assert
(
C
is
n
ot
None
)
def
test_compound_boolean_operations
(
self
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment