✏️ 正在编辑: sample2.py
路径:
/opt/cloudlinux/venv/lib/python3.11/site-packages/testfixtures/tests/sample2.py
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
# NB: This file is used in the documentation, if you make changes, ensure # you update the line numbers in popen.txt! """ A sample module containing the kind of code that testfixtures helps with testing """ from testfixtures.tests.sample1 import X, z try: from guppy import hpy guppy = True except ImportError: guppy = False def dump(path): if guppy: hpy().heap().stat.dump(path)
💾 保存文件
← 返回文件管理器