Skip to content

Commit

Permalink
Add another pytype suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbean-bremen committed Sep 21, 2023
1 parent 0686c08 commit 0b5acd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfakefs/fake_open.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def _handle_file_arg(
)
assert file_object is not None
path = file_object.name
return (
return ( # pytype: disable=bad-return-type
file_object,
cast(AnyStr, path), # pytype: disable=invalid-annotation
filedes,
Expand Down

0 comments on commit 0b5acd5

Please sign in to comment.