Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neel Shah
NIFTy
Commits
8c6068e7
Commit
8c6068e7
authored
May 03, 2016
by
Theo Steininger
Browse files
Merge branch 'minor_fixes_for_axis2' into 'master'
fix tests for overflow errors See merge request !11
parents
03a8b938
e6351cfe
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/test_nifty_mpi_data.py
View file @
8c6068e7
...
...
@@ -1806,9 +1806,9 @@ class Test_axis(unittest.TestCase):
'min'
,
'amin'
,
'nanmin'
,
'argmin'
,
'max'
,
'amax'
,
'nanmax'
,
'argmax'
],
all_datatypes
[
1
:],
[(
4
,
2
,
3
)],
[(
3
,
2
,
3
)],
all_distribution_strategies
,
[(
0
,
1
)
]),
#
, (1, 2), (0, 1, 2)]),
[(
0
,
1
),
(
1
,
2
),
(
0
,
1
,
2
)]),
testcase_func_name
=
custom_name_func
)
def
test_axis_with_operations_many_dimentions
(
self
,
function
,
dtype
,
global_shape
,
...
...
test/test_nifty_spaces.py
View file @
8c6068e7
...
...
@@ -1356,7 +1356,7 @@ print generate_space('rg_space')
class
Test_axis
(
unittest
.
TestCase
):
@
parameterized
.
expand
(
itertools
.
product
(
point_like_spaces
,
[
8
,
4
],
itertools
.
product
(
point_like_spaces
,
[
4
],
[
'sum'
,
'prod'
,
'mean'
,
'var'
,
'std'
,
'median'
,
'all'
,
'any'
,
'amin'
,
'nanmin'
,
'argmin'
,
'amax'
,
'nanmax'
,
'argmax'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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