Earlier we mentioned that a few object types, such as file objects, cannot be pickled.
前面提到对一些对象类型(譬如,文件对象)不能进行pickle。
OmniFind supports indexing text data in stream file objects, using an IFS path to identify the file.
OmniFind支持索引流文件对象中的文本数据,它使用IFS路径来标识文件。
Or the tested object may make use of objects with side effects that may not be desirable in unit testing, like file objects that delete files.
或者,测试对象会使用具有副作用的对象,如删除文件的File对象,而在单元测试中不希望有这些副作用。
应用推荐