forked from shaka-project/shaka-streamer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Fix mypy types (shaka-project#169)
On some versions, mypy thinks the file handle from the web server is BinaryIO, in others, BufferedIOBase. We don't care which it is, as both have the methods we care about. I tried the IOBase class from "io", but I get failures on certain devices. This is the best solution I've found so far.
- Loading branch information
1 parent
6b4b761
commit b087f05
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters