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