Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
e2d8df63
Commit
e2d8df63
authored
Aug 28, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some dead test code.
parent
e51caa48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
tests/memoryview/memslice.pyx
tests/memoryview/memslice.pyx
+1
-8
No files found.
tests/memoryview/memslice.pyx
View file @
e2d8df63
...
@@ -24,14 +24,7 @@ else:
...
@@ -24,14 +24,7 @@ else:
__test__
=
{}
__test__
=
{}
def
testcase
(
func
):
def
testcase
(
func
):
doctest
=
func
.
__doc__
__test__
[
func
.
__name__
]
=
func
.
__doc__
if
sys
.
version_info
>=
(
3
,
0
):
_u
=
str
else
:
_u
=
unicode
if
not
isinstance
(
doctest
,
_u
):
doctest
=
doctest
.
decode
(
'UTF-8'
)
__test__
[
func
.
__name__
]
=
doctest
def
wrapper
(
*
args
,
**
kwargs
):
def
wrapper
(
*
args
,
**
kwargs
):
gc
.
collect
()
gc
.
collect
()
...
...
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