1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-26 15:04:37 +00:00

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:
Daniel Grana 2009-02-12 07:59:40 +00:00
parent 3e4bc6141a
commit d68646422d

View File

@ -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