[pypy-commit] pypy default: merge branch run-extra-tests
rlamy
pypy.commits at gmail.com
Fri Nov 3 12:51:50 EDT 2017
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch:
Changeset: r92922:a88ed18e1a6a
Date: 2017-11-03 16:51 +0000
http://bitbucket.org/pypy/pypy/changeset/a88ed18e1a6a/
Log: merge branch run-extra-tests
diff --git a/extra_tests/requirements.txt b/extra_tests/requirements.txt
new file mode 100644
--- /dev/null
+++ b/extra_tests/requirements.txt
@@ -0,0 +1,2 @@
+pytest
+hypothesis
diff --git a/extra_tests/test_failing.py b/extra_tests/test_failing.py
new file mode 100644
--- /dev/null
+++ b/extra_tests/test_failing.py
@@ -0,0 +1,8 @@
+from hypothesis import given, strategies
+
+def mean(a, b):
+ return (a + b)/2.
+
+ at given(strategies.integers(), strategies.integers())
+def test_mean_failing(a, b):
+ assert mean(a, b) >= min(a, b)
diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst
--- a/pypy/doc/whatsnew-head.rst
+++ b/pypy/doc/whatsnew-head.rst
@@ -17,3 +17,6 @@
.. branch: bsd-patches
Fix failures on FreeBSD, contributed by David Naylor as patches on the issue
tracker (issues 2694, 2695, 2696, 2697)
+
+.. branch: run-extra-tests
+Run extra_tests/ in buildbot
More information about the pypy-commit
mailing list