Skip to content

Commit 3a7eb75

Browse files
committed
load mssql-python from parent folder
1 parent 661395d commit 3a7eb75

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

benchmarks/perf-benchmarking.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
import statistics
2121
from typing import List, Tuple
2222

23+
# Add parent directory to path to import local mssql_python
24+
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
25+
2326
import pyodbc
2427
from mssql_python import connect
2528

0 commit comments

Comments
 (0)