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() {
66 PYTHON=" "
77 # Find a suitable toolchain version, if available.
88 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"
1010 elif [ " Windows_NT" = " ${OS:- } " ]; then # Magic variable in cygwin
11- PYTHON=" C:/python/Current /python.exe"
11+ PYTHON=" C:/python/Python39 /python.exe"
1212 else
1313 # 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
1515 PYTHON=" /opt/python/Current/bin/python3"
1616 elif is_python_39 " $( command -v /opt/mongodbtoolchain/v5/bin/python3) " ; then
1717 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):
242242 authmechanismproperties = props ,
243243 connect = False ,
244244 )
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 ()
248248 # Close the client.
249249 client .close ()
250250
You can’t perform that action at this time.
0 commit comments