From ad19c3c7dc9ff29cb6849e0c3bcfc08b40c976db Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Mon, 6 May 2019 21:41:45 +0000 Subject: [PATCH] fix None error --- hypothesis/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypothesis/__init__.py b/hypothesis/__init__.py index f5e119b..47c0656 100644 --- a/hypothesis/__init__.py +++ b/hypothesis/__init__.py @@ -54,7 +54,7 @@ def _iter(): if selectors is None: # TODO warn?... selectors = [] - content: Optional[str] + content: Optional[str] = None for s in selectors: if 'exact' in s: content = s['exact']