Scrapy, a fast high-level web crawling & scraping framework for Python.
storedb: gracefully fail test if mysql is not installed.
Daniel Granad68646422db3
diff --git a/scrapy/trunk/scrapy/tests/test_storedb.py b/scrapy/trunk/scrapy/tests/test_storedb.pyindex 3e826ec3c..87da6acbb 100644--- a/scrapy/trunk/scrapy/tests/test_storedb.py+++ b/scrapy/trunk/scrapy/tests/test_storedb.py@@ -1,4 +1,8 @@-import MySQLdb+try:+ import MySQLdb+except ImportError:+ pass+from twisted.trial import unittestfrom datetime import datetime, timedeltafrom time import sleep