Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
D2O
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
22
Issues
22
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
D2O
Commits
4b231f3c
Commit
4b231f3c
authored
Jul 13, 2017
by
Theo Steininger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed another test for np.int8
parent
45820d90
Pipeline
#14849
passed with stage
in 3 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
test/test_distributed_data_object.py
test/test_distributed_data_object.py
+3
-0
No files found.
test/test_distributed_data_object.py
View file @
4b231f3c
...
@@ -1889,6 +1889,9 @@ class Test_axis(unittest.TestCase):
...
@@ -1889,6 +1889,9 @@ class Test_axis(unittest.TestCase):
(
a
,
obj
)
=
generate_data
(
global_shape
,
dtype
,
(
a
,
obj
)
=
generate_data
(
global_shape
,
dtype
,
distribution_strategy
,
distribution_strategy
,
strictly_positive
=
True
)
strictly_positive
=
True
)
if
dtype
is
np
.
dtype
(
'int8'
):
a
[
a
>
8
]
=
0
obj
[
obj
>
8
]
=
0
if
function
in
[
'argmin'
,
'argmax'
]
and
axis
is
not
None
:
if
function
in
[
'argmin'
,
'argmax'
]
and
axis
is
not
None
:
assert_raises
(
NotImplementedError
,
lambda
:
getattr
(
obj
,
function
)
assert_raises
(
NotImplementedError
,
lambda
:
getattr
(
obj
,
function
)
(
axis
=
axis
))
(
axis
=
axis
))
...
...
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