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

Optimization of obtaining loading module methods #5933

Closed ut003460 closed 1 month ago

ut003460 commented 1 month ago

1./proc/modules file contains information about system modules, not binary data. It is more appropriate to open the file in text mode ("r") 2.Encoding method specified