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
345 stars 343 forks source link

Optimization of obtaining loading module methods #5933

Closed ut003460 closed 6 months ago

ut003460 commented 6 months 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