mirror of https://github.com/scrapy/scrapy.git
storedb: gracefully fail test if mysql is not installed.
thanks Patrick Mezard for patch. --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40848
This commit is contained in:
parent
3e4bc6141a
commit
d68646422d
|
|
@ -1,4 +1,8 @@
|
|||
import MySQLdb
|
||||
try:
|
||||
import MySQLdb
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
from twisted.trial import unittest
|
||||
from datetime import datetime, timedelta
|
||||
from time import sleep
|
||||
|
|
|
|||
Loading…
Reference in New Issue