File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ find_python3() {
6
6
PYTHON=" "
7
7
# Find a suitable toolchain version, if available.
8
8
if [ " $( uname -s) " = " Darwin" ]; then
9
- PYTHON=" /Library/Frameworks/Python.Framework/Versions/Current /bin/python3"
9
+ PYTHON=" /Library/Frameworks/Python.Framework/Versions/3.9 /bin/python3"
10
10
elif [ " Windows_NT" = " ${OS:- } " ]; then # Magic variable in cygwin
11
- PYTHON=" C:/python/Current /python.exe"
11
+ PYTHON=" C:/python/Python39 /python.exe"
12
12
else
13
13
# Prefer our own toolchain, fall back to mongodb toolchain if it has Python 3.9+.
14
- if [ -f " /opt/python/Current /bin/python3" ]; then
14
+ if [ -f " /opt/python/3.9 /bin/python3" ]; then
15
15
PYTHON=" /opt/python/Current/bin/python3"
16
16
elif is_python_39 " $( command -v /opt/mongodbtoolchain/v5/bin/python3) " ; then
17
17
PYTHON=" /opt/mongodbtoolchain/v5/bin/python3"
Original file line number Diff line number Diff line change @@ -242,9 +242,9 @@ def test_1_6_allowed_hosts_blocked(self):
242
242
authmechanismproperties = props ,
243
243
connect = False ,
244
244
)
245
- # Assert that a find operation fails with a client-side error.
246
- with self .assertRaises (ConfigurationError ):
247
- client .test .test .find_one ()
245
+ # Assert that a find operation fails with a client-side error.
246
+ with self .assertRaises (ConfigurationError ):
247
+ client .test .test .find_one ()
248
248
# Close the client.
249
249
client .close ()
250
250
You can’t perform that action at this time.
0 commit comments