We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d078a0 commit 24dffecCopy full SHA for 24dffec
tests/apps/test_app/management/commands/file_handles.py
@@ -15,6 +15,11 @@ def handle(
15
file_binary: typer.FileBinaryRead,
16
file_binary_write: typer.FileBinaryWrite,
17
):
18
+ # workaround
19
+ # if file_text.closed:
20
+ # file_text = open(file_text.name, "rt", encoding="utf-8")
21
+ # if file_binary.closed:
22
+ # file_binary = open(file_binary.name, "rb")
23
assert file_text.read().strip() == "FileText"
24
assert file_binary.read().strip() == b"FileBinary"
25
0 commit comments