Avoid using string literals in type annotations (#2294)

This commit is contained in:
Yusuke Miyazaki
2018-07-03 12:23:29 +09:00
committed by Jelle Zijlstra
parent 25ad95de4f
commit 6192cce9d9
50 changed files with 175 additions and 175 deletions

View File

@@ -16,7 +16,7 @@ _Regexp = Union[Text, Pattern[Text]]
class Testable(metaclass=ABCMeta):
@abstractmethod
def run(self, result: 'TestResult') -> None: ...
def run(self, result: TestResult) -> None: ...
@abstractmethod
def debug(self) -> None: ...
@abstractmethod