From 3c99d0060557bb33a482f3fe74c1b665fb3de010 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sat, 24 Nov 2018 20:14:43 +0900 Subject: Add sphinx.util.typing:unicode to help mypy-3 migration --- sphinx/testing/path.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sphinx/testing/path.py') diff --git a/sphinx/testing/path.py b/sphinx/testing/path.py index 143bfd994..20430ff23 100644 --- a/sphinx/testing/path.py +++ b/sphinx/testing/path.py @@ -15,6 +15,7 @@ from six import text_type if False: # For type annotation from typing import Any, Callable, IO, List # NOQA + from sphinx.util.typing import unicode # NOQA FILESYSTEMENCODING = sys.getfilesystemencoding() or sys.getdefaultencoding() -- cgit v1.2.1