summaryrefslogtreecommitdiff
path: root/eggs/py-1.4.0-py2.6.egg/py/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'eggs/py-1.4.0-py2.6.egg/py/test.py')
-rw-r--r--eggs/py-1.4.0-py2.6.egg/py/test.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/eggs/py-1.4.0-py2.6.egg/py/test.py b/eggs/py-1.4.0-py2.6.egg/py/test.py
new file mode 100644
index 0000000..aa5beb1
--- /dev/null
+++ b/eggs/py-1.4.0-py2.6.egg/py/test.py
@@ -0,0 +1,10 @@
+import sys
+if __name__ == '__main__':
+ import pytest
+ sys.exit(pytest.main())
+else:
+ import sys, pytest
+ sys.modules['py.test'] = pytest
+
+# for more API entry points see the 'tests' definition
+# in __init__.py