aboutsummaryrefslogtreecommitdiff
path: root/mobly/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'mobly/utils.py')
-rw-r--r--mobly/utils.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/mobly/utils.py b/mobly/utils.py
index 3964a81..64dc3f1 100644
--- a/mobly/utils.py
+++ b/mobly/utils.py
@@ -30,17 +30,10 @@ import subprocess
import threading
import time
import traceback
-from typing import Tuple, overload
+from typing import Literal, Tuple, overload
import portpicker
-# TODO(#851): Remove this try/except statement and typing_extensions from
-# install_requires when Python 3.8 is the minimum version we support.
-try:
- from typing import Literal
-except ImportError:
- from typing_extensions import Literal
-
# File name length is limited to 255 chars on some OS, so we need to make sure
# the file names we output fits within the limit.
MAX_FILENAME_LEN = 255