denisenkom / pytds

Python DBAPI driver for MSSQL using pure Python TDS (Tabular Data Stream) protocol implementation
MIT License
192 stars 53 forks source link

Unit tests fail when you are running SQL Server locally #89

Closed LHCGreg closed 6 years ago

LHCGreg commented 6 years ago

Some unit tests create a socket that listens on port 1433. If you also have SQL Server running, not an unlikely possibility for someone running pytds unit tests, those tests fail.

PR incoming.