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
Rémy Mozul
FortHon
Commits
9d76e237
Commit
9d76e237
authored
Apr 03, 2014
by
Mozul Rémy
Browse files
update test for numpy array
parent
c44bf789
Changes
1
Hide whitespace changes
Inline
Side-by-side
pytest.py
View file @
9d76e237
import
numpy
import
test
test
.
build_pytype
(
1
,
2
,
4.
)
z
=
numpy
.
ones
([
2
,
4
],
dtype
=
float
)
t
=
test
.
pytype
(
2
,
3
,
5.
)
print
t
.
dist
()
t
=
test
.
pytype
(
z
)
t
.
prin
()
t
.
incr
()
t
.
prin
()
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