summaryrefslogtreecommitdiff
path: root/sphinx/testing/path.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/testing/path.py')
-rw-r--r--sphinx/testing/path.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/testing/path.py b/sphinx/testing/path.py
index 5f59ad30b..209046246 100644
--- a/sphinx/testing/path.py
+++ b/sphinx/testing/path.py
@@ -10,11 +10,11 @@ import os
import shutil
import sys
from io import open
-from typing import TYPE_CHECKING
from six import PY2, text_type
-if TYPE_CHECKING:
+if False:
+ # For type annotation
from typing import Any, Callable, IO, List # NOQA