pyodbc
pyodbc copied to clipboard
The tests directory is having older tests that have dependencies on modules that do not exist
sqlitetests.py is having statement from testutils import *. There is no testutils module to import. Earlier in the releases like 4.0.35 the module was present.
@Aditya102010 Yes, unfortunately the sqlitetests.py module is not currently up-to-date, which is why it's in the "old" folder "tests\old" along with other somewhat neglected unit test modules from pyodbc v4. There are no current plans for porting it to work with pyodbc v5, but thank you for reminding me of this.
@keitherskine I saw the other important tests namely mysql_test postgresql and sqlserver have been ported to v5. Can someone other than contributors through a pull request port the other relevant/significant tests to pytest for pyodbc v5 and future versions. If so then I'll be happy to take up this job. I very actively work with databases and have decent knowledge of pyodbc.