You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/tests/data/plain_old_module.py

20 lines
314 B
Python

7 years ago
"""
I am a plain old module with no interesting dependencies or import machinery
fiddlery.
"""
import math
def get_sentinel_value():
# Some proof we're even talking to the mitogen-test Docker image
return file('/etc/sentinel').read()
def add(x, y):
return x + y
7 years ago
def pow(x, y):
return x ** y