pippo995 commented on PR #62078: URL: https://github.com/apache/airflow/pull/62078#issuecomment-3916217701
The tests were mocking NamedTemporaryFile to return a PosixPath instead of a file-like object. PosixPath has no .flush() and its .name returns just the filename (not the full path like a real file object). I'm going to change tests -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
