Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafael Monnerat
wendelin
Commits
d1ab322d
Commit
d1ab322d
authored
Jun 05, 2015
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We can safely uncomment these lines now.
parent
8aaba7fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bt5/erp5_wendelin/TestTemplateItem/portal_components/test.erp5.testWendelin.py
...tTemplateItem/portal_components/test.erp5.testWendelin.py
+4
-4
No files found.
bt5/erp5_wendelin/TestTemplateItem/portal_components/test.erp5.testWendelin.py
View file @
d1ab322d
...
@@ -155,12 +155,12 @@ class Test(ERP5TypeTestCase):
...
@@ -155,12 +155,12 @@ class Test(ERP5TypeTestCase):
self
.
assertEquals
(
new_array
.
shape
,
persistent_zbig_array
.
shape
)
self
.
assertEquals
(
new_array
.
shape
,
persistent_zbig_array
.
shape
)
# (enable when new wendelin.core released as it can kill system)
# (enable when new wendelin.core released as it can kill system)
#
self.assertTrue(np.array_equal(new_array, persistent_zbig_array))
self
.
assertTrue
(
np
.
array_equal
(
new_array
,
persistent_zbig_array
))
# test set element in zbig array
# test set element in zbig array
persistent_zbig_array
[:
2
,
2
]
=
0
persistent_zbig_array
[:
2
,
2
]
=
0
#
self.assertFalse(np.array_equal(new_array, persistent_zbig_array))
self
.
assertFalse
(
np
.
array_equal
(
new_array
,
persistent_zbig_array
))
# resize Zbig Array (enable when new wendelin.core released as it can kill system)
# resize Zbig Array (enable when new wendelin.core released as it can kill system)
#persistent_zbig_array = np.resize(persistent_zbig_array, (100,100))
persistent_zbig_array
=
np
.
resize
(
persistent_zbig_array
,
(
100
,
100
))
#self.assertNotEquals(pure_numpy_array.shape, persistent_zbig_array.shape)
self
.
assertNotEquals
(
pure_numpy_array
.
shape
,
persistent_zbig_array
.
shape
)
\ No newline at end of file
\ No newline at end of file
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