Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1095 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

testutil.py fails if sqlalchemy is not installed

Reported by: yattomu Owned by: anonymous
Priority: normal Milestone: 1.0
Component: CherryPy Version: 0.9a5
Severity: minor Keywords:
Cc:

Description

testutil.py imports sqlalchemy in any condition. As installer does not automatically sqlalchemy, you need to install it manually before using testutil.py (even if you don't need sqlalchemy.)

A small patch like:

try:
  import sqlalchemy
except ImportError:
  pass

might be useful.

Change History

comment:1 Changed 13 years ago by fredlin

  • Status changed from new to closed
  • Resolution set to fixed

fixed @1834, thanks!

Note: See TracTickets for help on using tickets.