mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-14 01:00:39 +00:00
20 lines
412 B
Python
20 lines
412 B
Python
# 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)
|