Index: build/android/pylib/host_driven/python_test_sharder.py |
diff --git a/build/android/pylib/host_driven/python_test_sharder.py b/build/android/pylib/host_driven/python_test_sharder.py |
index 31aa1a1b49b652a7c3239e5515b91d1c9a91e98d..be85ab6fe2d7444a3dfce4569b2e141669a52990 100644 |
--- a/build/android/pylib/host_driven/python_test_sharder.py |
+++ b/build/android/pylib/host_driven/python_test_sharder.py |
@@ -10,7 +10,6 @@ import multiprocessing |
from pylib.base import sharded_tests_queue |
from pylib.base.test_result import TestResults |
-from pylib.instrumentation.run_java_tests import FatalTestException |
from python_test_caller import CallPythonTest |
@@ -139,7 +138,7 @@ class PythonTestSharder(object): |
except Exception: |
logging.exception('Unable to run tests. Something with the ' |
'PythonTestRunners has gone wrong.') |
- raise FatalTestException('PythonTestRunners were unable to run tests.') |
+ raise Exception('PythonTestRunners were unable to run tests.') |
test_results = TestResults.FromTestResults(results_lists) |
# Accumulate passing results. |