Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
3c4dbefe
Commit
3c4dbefe
authored
May 11, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testrunner.py: do not try importing pysqlite2, it was useful when we supported python2.4
parent
f8df1134
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
greentest/testrunner.py
greentest/testrunner.py
+2
-8
No files found.
greentest/testrunner.py
View file @
3c4dbefe
...
@@ -59,14 +59,8 @@ except AttributeError:
...
@@ -59,14 +59,8 @@ except AttributeError:
try
:
try
:
import
sqlite3
import
sqlite3
except
ImportError
:
except
ImportError
:
ex
=
sys
.
exc_info
()[
1
]
sys
.
stderr
.
write
(
'Failed to import sqlite3: %s
\
n
'
%
sys
.
exc_info
()[
1
])
sys
.
stderr
.
write
(
'Failed to import sqlite3: %s
\
n
'
%
ex
)
sqlite3
=
None
try
:
import
pysqlite2.dbapi2
as
sqlite3
except
ImportError
:
ex
=
sys
.
exc_info
()[
1
]
sys
.
stderr
.
write
(
'Failed to import pysqlite2.dbapi2: %s
\
n
'
%
ex
)
sqlite3
=
None
_column_types
=
{
'time'
:
'real'
}
_column_types
=
{
'time'
:
'real'
}
...
...
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