Skip to content

Commit

Permalink
fix typing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisphilip322 committed Oct 12, 2018
1 parent 102cf3b commit 9c577e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mypy/test/testpep561.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import sys
import tempfile
from typing import Tuple, List, Generator, Optional
from typing import Tuple, List, Generator, Optional, Any
from unittest import TestCase, main

import mypy.api
Expand Down Expand Up @@ -70,7 +70,7 @@ class ExampleProgram(object):
def __init__(self, source_code: str) -> None:
self._source_code = source_code

self._temp_dir = None # type: Optional[tempfile.TemporaryDirectory]
self._temp_dir = None # type: Optional[tempfile.TemporaryDirectory[Any]]
self._full_fname = ''

def init(self) -> None:
Expand Down

0 comments on commit 9c577e6

Please # to comment.