Skip to content

Commit b8e06eb

Browse files
committed
Fix syntax for python 3.5
1 parent 8261e52 commit b8e06eb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

testcontainers/mssql.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ def _configure(self):
3434

3535
def get_connection_url(self):
3636
standard_url = super()._create_connection_url(dialect="mssql+pyodbc",
37-
username=self.SQLSERVER_USER,
38-
password=self.SQLSERVER_PASSWORD,
39-
db_name=self.SQLSERVER_DBNAME,
40-
port=self.port_to_expose)
37+
username=self.SQLSERVER_USER,
38+
password=self.SQLSERVER_PASSWORD,
39+
db_name=self.SQLSERVER_DBNAME,
40+
port=self.port_to_expose)
4141

42-
return standard_url + f"?driver={self.SQLSERVER_DRIVER}"
42+
return standard_url + "?driver=" + self.SQLSERVER_DRIVER

0 commit comments

Comments
 (0)