Changeset 1712:1b17d07f3a88 for test/mock_ftplib.py
- Timestamp:
- Dec 25, 2018, 10:20:39 PM (2 years ago)
- Branch:
- default
- histedit_source:
- 6ba1c871114f5caf203f0ee08ad4939d0def9c55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/mock_ftplib.py
r1682 r1712 15 15 16 16 import io 17 import collections 17 import collections.abc 18 18 import ftplib 19 19 import posixpath … … 155 155 """ 156 156 # The callback comes last in `ftplib.FTP.dir`. 157 if isinstance(args[-1], collections. Callable):157 if isinstance(args[-1], collections.abc.Callable): 158 158 # Get `args[-1]` _before_ removing it in the line after. 159 159 callback = args[-1]
Note: See TracChangeset
for help on using the changeset viewer.