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
8a25a77b
Commit
8a25a77b
authored
Feb 05, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix unused imports and Py2.4-isms in test code
parent
ac7a5367
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Cython/Debugger/Tests/TestLibCython.py
Cython/Debugger/Tests/TestLibCython.py
+3
-4
No files found.
Cython/Debugger/Tests/TestLibCython.py
View file @
8a25a77b
...
...
@@ -2,15 +2,14 @@
import
os
import
re
import
sys
import
uuid
import
shutil
import
warnings
import
textwrap
import
unittest
import
tempfile
import
subprocess
import
distutils.core
from
distutils
import
sysconfig
#
import distutils.core
#
from distutils import sysconfig
from
distutils
import
ccompiler
import
runtests
...
...
@@ -24,7 +23,7 @@ cfuncs_file = os.path.join(root, 'cfuncs.c')
f
=
open
(
codefile
)
try
:
source_to_lineno
=
dict
(
(
line
.
strip
(),
i
+
1
)
for
i
,
line
in
enumerate
(
f
)
)
source_to_lineno
=
dict
(
[
(
line
.
strip
(),
i
+
1
)
for
i
,
line
in
enumerate
(
f
)
]
)
finally
:
f
.
close
()
...
...
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