Workaround Python 3.4 max_workers not supporting None
diff --git a/tests/mobly/utils_test.py b/tests/mobly/utils_test.py
index cdcdee7..e4dca9c 100755
--- a/tests/mobly/utils_test.py
+++ b/tests/mobly/utils_test.py
@@ -19,6 +19,7 @@
import platform
import shutil
import socket
+import sys
import subprocess
import tempfile
import time
@@ -166,6 +167,8 @@
utils.stop_standing_subprocess(p)
self.assertFalse(p1.is_running())
+ @unittest.skipIf(sys.version_info >= (3, 4) and sys.version_info < (3, 5),
+ 'Python 3.4 does not support `None` max_workers.')
def test_concurrent_exec_when_none_workers(self):
def adder(a, b):
return a + b