1. On Linux, build pyodbc in local copy of pyodbc source code repository.
2. Run tests:
$ python3.2 tests3/sqlservertests.py DSN=SQLSERVER_2012_EXPRESS_64_BIT
Results are:
======================================================================
ERROR: test_drivers (__main__.SqlServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests3/sqlservertests.py", line 1256, in test_drivers
drivers = pyodbc.drivers()
AttributeError: 'module' object has no attribute 'drivers'
----------------------------------------------------------------------
Ran 190 tests in 27.203s
FAILED (errors=1)
Looking at pyodbcmodule.cpp, it seems that drivers is an attribute that pyodbc
only supports on Windows, so I would expect this test not to run on Linux.
I am using pyodbc 3.0.0 on Ubuntu 7.04 with Python 3.2.3.
Original issue reported on code.google.com by timothy....@gmail.com on 21 Sep 2012 at 7:42
Original issue reported on code.google.com by
timothy....@gmail.com
on 21 Sep 2012 at 7:42