avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
336 stars 335 forks source link

Added exception handling for OSError that may be thrown by os.read #5970

Open faker-king opened 1 week ago

faker-king commented 1 week ago

Added exception handling for OSError that may be thrown by os.read

faker-king commented 1 week ago

hi @richtja, Can you help me see if I can merge the code

faker-king commented 1 week ago

Hi @richtja, Thank you for your feedback. I have carefully considered it and there is indeed no problem with what you said. It has reduced the readability of the code. I have now made a new modification and would appreciate it if you could double check it.

faker-king commented 6 days ago

Hi @richtja, I have found that the error in the codeclimate was not caused by my modifications. Could you please help me identify the reason for this