Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-hypothesis.spec'], chrootPath='/var/lib/mock/epel-6-i386-mockbuilder-3381/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-hypothesis.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-870507993.novalocal Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/python-hypothesis-1.11.2-2.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-hypothesis.spec '], chrootPath='/var/lib/mock/epel-6-i386-mockbuilder-3381/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-hypothesis.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AZ1u2J + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf hypothesis-1.11.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/hypothesis-1.11.2.tar.gz + /bin/tar -xvvf - drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/ -rw-rw-r-- root/root 442 2015-09-23 07:58 hypothesis-1.11.2/.coveragerc -rw-rw-r-- root/root 24 2015-09-23 07:58 hypothesis-1.11.2/.gitignore -rw-rw-r-- root/root 998 2015-09-23 07:58 hypothesis-1.11.2/.travis.yml -rw-rw-r-- root/root 4122 2015-09-23 07:58 hypothesis-1.11.2/CONTRIBUTING.rst -rw-rw-r-- root/root 212 2015-09-23 07:58 hypothesis-1.11.2/LICENSE.txt -rw-rw-r-- root/root 1669 2015-09-23 07:58 hypothesis-1.11.2/README.rst -rw-rw-r-- root/root 2027 2015-09-23 07:58 hypothesis-1.11.2/appveyor.yml drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/docs/ -rw-rw-r-- root/root 7425 2015-09-23 07:58 hypothesis-1.11.2/docs/Makefile drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/docs/_static/ -rw-rw-r-- root/root 0 2015-09-23 07:58 hypothesis-1.11.2/docs/_static/.empty -rw-rw-r-- root/root 49254 2015-09-23 07:58 hypothesis-1.11.2/docs/changes.rst -rw-rw-r-- root/root 1609 2015-09-23 07:58 hypothesis-1.11.2/docs/community.rst -rw-rw-r-- root/root 2360 2015-09-23 07:58 hypothesis-1.11.2/docs/conf.py -rw-rw-r-- root/root 16022 2015-09-23 07:58 hypothesis-1.11.2/docs/data.rst -rw-rw-r-- root/root 3110 2015-09-23 07:58 hypothesis-1.11.2/docs/database.rst -rw-rw-r-- root/root 19347 2015-09-23 07:58 hypothesis-1.11.2/docs/details.rst -rw-rw-r-- root/root 9172 2015-09-23 07:58 hypothesis-1.11.2/docs/django.rst -rw-rw-r-- root/root 3686 2015-09-23 07:58 hypothesis-1.11.2/docs/endorsements.rst -rw-rw-r-- root/root 17224 2015-09-23 07:58 hypothesis-1.11.2/docs/examples.rst -rw-rw-r-- root/root 5908 2015-09-23 07:58 hypothesis-1.11.2/docs/extras.rst -rw-rw-r-- root/root 2615 2015-09-23 07:58 hypothesis-1.11.2/docs/index.rst -rw-rw-r-- root/root 13766 2015-09-23 07:58 hypothesis-1.11.2/docs/internals.rst -rw-rw-r-- root/root 3311 2015-09-23 07:58 hypothesis-1.11.2/docs/manifesto.rst -rw-rw-r-- root/root 9393 2015-09-23 07:58 hypothesis-1.11.2/docs/quickstart.rst -rw-rw-r-- root/root 12785 2015-09-23 07:58 hypothesis-1.11.2/docs/stateful.rst -rw-rw-r-- root/root 4156 2015-09-23 07:58 hypothesis-1.11.2/docs/supported.rst drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/examples/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/examples/__init__.py -rw-rw-r-- root/root 24554 2015-09-23 07:58 hypothesis-1.11.2/examples/bintree.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/ drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-datetime/ -rw-rw-r-- root/root 99 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-datetime/README.rst -rw-rw-r-- root/root 2432 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-datetime/setup.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-datetime/src/ drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-datetime/src/hypothesisdatetime/ -rw-rw-r-- root/root 813 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-datetime/src/hypothesisdatetime/__init__.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-django/ -rw-rw-r-- root/root 99 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-django/README.rst -rw-rw-r-- root/root 46 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-django/pytest.ini -rw-rw-r-- root/root 2374 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-django/setup.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-django/src/ drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-django/src/hypothesisdjango/ -rw-rw-r-- root/root 765 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-django/src/hypothesisdjango/__init__.py -rwxrwxr-x root/root 149 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-django/test_setup drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-fakefactory/ -rw-rw-r-- root/root 99 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-fakefactory/README.rst -rw-rw-r-- root/root 2447 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-fakefactory/setup.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-fakefactory/src/ drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-fakefactory/src/hypothesisfakefactory/ -rw-rw-r-- root/root 674 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-fakefactory/src/hypothesisfakefactory/__init__.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-numpy/ -rw-rw-r-- root/root 99 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-numpy/README.rst -rw-rw-r-- root/root 2047 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-numpy/setup.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-numpy/src/ drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-numpy/src/hypothesisnumpy/ -rw-rw-r-- root/root 803 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-numpy/src/hypothesisnumpy/__init__.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-pytest/ -rw-rw-r-- root/root 234 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-pytest/README.rst -rw-rw-r-- root/root 2057 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-pytest/setup.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-pytest/src/ drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-pytest/src/hypothesispytest/ -rw-rw-r-- root/root 654 2015-09-23 07:58 hypothesis-1.11.2/hypothesis-extra/hypothesis-pytest/src/hypothesispytest/__init__.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/notebooks/ -rw-rw-r-- root/root 160339 2015-09-23 07:58 hypothesis-1.11.2/notebooks/Designing a better simplifier.ipynb drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/scripts/ -rwxrwxr-x root/root 1655 2015-09-23 07:58 hypothesis-1.11.2/scripts/basic-test.sh -rw-rw-r-- root/root 1596 2015-09-23 07:58 hypothesis-1.11.2/scripts/enforce_header.py -rw-rw-r-- root/root 654 2015-09-23 07:58 hypothesis-1.11.2/scripts/header.py -rw-rw-r-- root/root 5987 2015-09-23 07:58 hypothesis-1.11.2/scripts/install.ps1 -rwxrwxr-x root/root 3851 2015-09-23 07:58 hypothesis-1.11.2/scripts/install.sh -rwxrwxr-x root/root 411 2015-09-23 07:58 hypothesis-1.11.2/scripts/lint.sh -rwxrwxr-x root/root 2175 2015-09-23 07:58 hypothesis-1.11.2/scripts/pyenv-installer -rwxrwxr-x root/root 139 2015-09-23 07:58 hypothesis-1.11.2/scripts/run.sh -rw-rw-r-- root/root 1842 2015-09-23 07:58 hypothesis-1.11.2/scripts/run_with_env.cmd -rw-rw-r-- root/root 3232 2015-09-23 07:58 hypothesis-1.11.2/setup.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/ drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/ -rw-rw-r-- root/root 1328 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/__init__.py -rw-rw-r-- root/root 2527 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/control.py -rw-rw-r-- root/root 24154 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/core.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/database/ -rw-rw-r-- root/root 2699 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/database/__init__.py -rw-rw-r-- root/root 4607 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/database/backend.py -rw-rw-r-- root/root 2210 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/database/formats.py -rw-rw-r-- root/root 1195 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/deprecation.py -rw-rw-r-- root/root 5228 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/errors.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/executors/ -rw-rw-r-- root/root 1719 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/executors/__init__.py -rw-rw-r-- root/root 1603 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/executors/executors.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/extra/ -rw-rw-r-- root/root 2258 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/extra/__init__.py -rw-rw-r-- root/root 9894 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/extra/datetime.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/extra/django/ -rw-rw-r-- root/root 1292 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/extra/django/__init__.py -rw-rw-r-- root/root 3400 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/extra/django/fixtures.py -rw-rw-r-- root/root 3987 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/extra/django/models.py -rw-rw-r-- root/root 3948 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/extra/fakefactory.py -rw-rw-r-- root/root 7438 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/extra/numpy.py -rw-rw-r-- root/root 1852 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/extra/pytestplugin.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/__init__.py -rw-rw-r-- root/root 1621 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/chooser.py -rw-rw-r-- root/root 1234 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/classmap.py -rw-rw-r-- root/root 5700 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/compat.py -rw-rw-r-- root/root 4764 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/debug.py -rw-rw-r-- root/root 1988 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/distributions.py -rw-rw-r-- root/root 3840 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/examplesource.py -rw-rw-r-- root/root 14401 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/reflection.py -rw-rw-r-- root/root 2198 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/tracker.py -rw-rw-r-- root/root 1900 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/internal/typechecking.py -rw-rw-r-- root/root 1664 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/reporting.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/ -rw-rw-r-- root/root 1102 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/__init__.py -rw-rw-r-- root/root 11235 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/basic.py -rw-rw-r-- root/root 26161 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/collections.py -rw-rw-r-- root/root 1819 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/flatmapped.py -rw-rw-r-- root/root 4604 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/misc.py -rw-rw-r-- root/root 7269 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/morphers.py -rw-rw-r-- root/root 5913 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/narytree.py -rw-rw-r-- root/root 18466 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/numbers.py -rw-rw-r-- root/root 2690 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/recursive.py -rw-rw-r-- root/root 2008 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/reprwrapper.py -rw-rw-r-- root/root 20964 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/strategies.py -rw-rw-r-- root/root 7084 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/streams.py -rw-rw-r-- root/root 4919 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/strings.py -rw-rw-r-- root/root 1954 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/searchstrategy/wrappers.py -rw-rw-r-- root/root 12569 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/settings.py -rw-rw-r-- root/root 2317 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/specifiers.py -rw-rw-r-- root/root 22168 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/stateful.py -rw-rw-r-- root/root 30104 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/strategies.py -rw-rw-r-- root/root 11727 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/strategytests.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/testrunners/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/testrunners/__init__.py -rw-rw-r-- root/root 3097 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/testrunners/forking.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/tools/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/tools/__init__.py -rw-rw-r-- root/root 3918 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/tools/mergedbs.py -rw-rw-r-- root/root 4004 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/types.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/utils/ -rw-rw-r-- root/root 796 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/utils/__init__.py -rw-rw-r-- root/root 923 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/utils/conventions.py -rw-rw-r-- root/root 1213 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/utils/dynamicvariables.py -rw-rw-r-- root/root 1862 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/utils/extmethod.py -rw-rw-r-- root/root 1494 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/utils/idkey.py -rw-rw-r-- root/root 4655 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/utils/show.py -rw-rw-r-- root/root 889 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/utils/size.py -rw-rw-r-- root/root 801 2015-09-23 07:58 hypothesis-1.11.2/src/hypothesis/version.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/tests/__init__.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/common/ -rw-rw-r-- root/root 4301 2015-09-23 07:58 hypothesis-1.11.2/tests/common/__init__.py -rw-rw-r-- root/root 1444 2015-09-23 07:58 hypothesis-1.11.2/tests/common/basic.py -rw-rw-r-- root/root 1644 2015-09-23 07:58 hypothesis-1.11.2/tests/common/utils.py -rw-rw-r-- root/root 1123 2015-09-23 07:58 hypothesis-1.11.2/tests/conftest.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/__init__.py -rw-rw-r-- root/root 1739 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_bad_repr.py -rw-rw-r-- root/root 5798 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_basic_strategy.py -rw-rw-r-- root/root 1315 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_chooser.py -rw-rw-r-- root/root 1774 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_classmap.py -rw-rw-r-- root/root 1828 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_collective_minimization.py -rw-rw-r-- root/root 2621 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_composite.py -rw-rw-r-- root/root 2615 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_control.py -rw-rw-r-- root/root 882 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_conventions.py -rw-rw-r-- root/root 2340 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_converter.py -rw-rw-r-- root/root 2564 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_core.py -rw-rw-r-- root/root 6997 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_database.py -rw-rw-r-- root/root 2742 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_database_backend.py -rw-rw-r-- root/root 5039 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_deprecated_api.py -rw-rw-r-- root/root 2121 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_deprecation.py -rw-rw-r-- root/root 962 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_descriptors.py -rw-rw-r-- root/root 7721 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_direct_strategies.py -rw-rw-r-- root/root 1388 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_distributions.py -rw-rw-r-- root/root 1273 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_draw_example.py -rw-rw-r-- root/root 1153 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_dynamic_variable.py -rw-rw-r-- root/root 1285 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_eval_as_source.py -rw-rw-r-- root/root 2430 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_examplesource.py -rw-rw-r-- root/root 2001 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_executors.py -rw-rw-r-- root/root 1556 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_exhaustion.py -rw-rw-r-- root/root 4468 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_explicit_examples.py -rw-rw-r-- root/root 1527 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_extmethod.py -rw-rw-r-- root/root 1586 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_fancy_repr.py -rw-rw-r-- root/root 1713 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_filestorage.py -rw-rw-r-- root/root 1110 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_filtering.py -rw-rw-r-- root/root 2985 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_find.py -rw-rw-r-- root/root 3335 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_flatmap.py -rw-rw-r-- root/root 2835 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_float_nastiness.py -rw-rw-r-- root/root 3421 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_forking.py -rw-rw-r-- root/root 1696 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_given_error_conditions.py -rw-rw-r-- root/root 1132 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_idkey.py -rw-rw-r-- root/root 956 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_imports.py -rw-rw-r-- root/root 2034 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_manual_given_invocation.py -rw-rw-r-- root/root 4454 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_morpher.py -rw-rw-r-- root/root 2335 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_nary_tree.py -rw-rw-r-- root/root 4670 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_nice_string.py -rw-rw-r-- root/root 1143 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_numerics.py -rw-rw-r-- root/root 1362 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_one_of.py -rw-rw-r-- root/root 1202 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_permutations.py -rw-rw-r-- root/root 5288 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_recursive.py -rw-rw-r-- root/root 15368 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_reflection.py -rw-rw-r-- root/root 2403 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_reporting.py -rw-rw-r-- root/root 956 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_sampled_from.py -rw-rw-r-- root/root 5033 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_searchstrategy.py -rw-rw-r-- root/root 3072 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_sets.py -rw-rw-r-- root/root 4534 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_settings.py -rw-rw-r-- root/root 3381 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_setup_teardown.py -rw-rw-r-- root/root 7419 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_simple_collections.py -rw-rw-r-- root/root 7505 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_simple_numbers.py -rw-rw-r-- root/root 3284 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_simple_strings.py -rw-rw-r-- root/root 1616 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_sizes.py -rw-rw-r-- root/root 12977 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_stateful.py -rw-rw-r-- root/root 1089 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_strategytests.py -rw-rw-r-- root/root 4703 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_streams.py -rw-rw-r-- root/root 13926 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_testdecorators.py -rw-rw-r-- root/root 2350 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_tracker.py -rw-rw-r-- root/root 3020 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_validation.py -rw-rw-r-- root/root 3747 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_verbosity.py -rw-rw-r-- root/root 4148 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_via_the_database.py -rw-rw-r-- root/root 965 2015-09-23 07:58 hypothesis-1.11.2/tests/cover/test_weird_settings.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/datetime/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/tests/datetime/__init__.py -rw-rw-r-- root/root 4602 2015-09-23 07:58 hypothesis-1.11.2/tests/datetime/test_datetime.py -rw-rw-r-- root/root 939 2015-09-23 07:58 hypothesis-1.11.2/tests/datetime/test_details.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/django/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/tests/django/__init__.py -rwxrwxr-x root/root 969 2015-09-23 07:58 hypothesis-1.11.2/tests/django/manage.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toys/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toys/__init__.py -rw-rw-r-- root/root 2811 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toys/settings.py -rw-rw-r-- root/root 1092 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toys/urls.py -rw-rw-r-- root/root 1107 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toys/wsgi.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toystore/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toystore/__init__.py -rw-rw-r-- root/root 718 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toystore/admin.py -rw-rw-r-- root/root 2090 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toystore/models.py -rw-rw-r-- root/root 2140 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toystore/test_basic_configuration.py -rw-rw-r-- root/root 2575 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toystore/test_fixtures.py -rw-rw-r-- root/root 2846 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toystore/test_given_models.py -rw-rw-r-- root/root 718 2015-09-23 07:58 hypothesis-1.11.2/tests/django/toystore/views.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/fakefactory/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/tests/fakefactory/__init__.py -rw-rw-r-- root/root 2964 2015-09-23 07:58 hypothesis-1.11.2/tests/fakefactory/test_fake_factory.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/__init__.py -rw-rw-r-- root/root 1952 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/test_compat.py -rw-rw-r-- root/root 1445 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/test_debug.py -rw-rw-r-- root/root 9051 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/test_descriptortests.py -rw-rw-r-- root/root 14055 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/test_example_quality.py -rw-rw-r-- root/root 3907 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/test_floating.py -rw-rw-r-- root/root 4547 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/test_git_merge.py -rw-rw-r-- root/root 11900 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/test_statistical_distribution.py -rw-rw-r-- root/root 12056 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/test_strategy_state.py -rw-rw-r-- root/root 1177 2015-09-23 07:58 hypothesis-1.11.2/tests/nocover/test_streams.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/numpy/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/tests/numpy/__init__.py -rw-rw-r-- root/root 2714 2015-09-23 07:58 hypothesis-1.11.2/tests/numpy/test_gen_data.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/py2/ -rw-rw-r-- root/root 652 2015-09-23 07:58 hypothesis-1.11.2/tests/py2/__init__.py -rw-rw-r-- root/root 932 2015-09-23 07:58 hypothesis-1.11.2/tests/py2/test_lambdas.py drwxrwxr-x root/root 0 2015-09-23 07:58 hypothesis-1.11.2/tests/pytest/ -rw-rw-r-- root/root 1390 2015-09-23 07:58 hypothesis-1.11.2/tests/pytest/test_capture.py -rw-rw-r-- root/root 1147 2015-09-23 07:58 hypothesis-1.11.2/tests/pytest/test_mark.py -rw-rw-r-- root/root 1322 2015-09-23 07:58 hypothesis-1.11.2/tests/pytest/test_reporting.py -rw-rw-r-- root/root 998 2015-09-23 07:58 hypothesis-1.11.2/tests/pytest/test_runs.py -rw-rw-r-- root/root 1746 2015-09-23 07:58 hypothesis-1.11.2/tox.ini Patch #1 (backport-el6.patch): patching file src/hypothesis/internal/compat.py Patch #2 (sphinx10.patch): patching file docs/Makefile + STATUS=0 + '[' 0 -ne 0 ']' + cd hypothesis-1.11.2 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (backport-el6.patch):' + /bin/cat /builddir/build/SOURCES/backport-el6.patch + /usr/bin/patch -p0 -b --suffix .backport --fuzz=0 + echo 'Patch #2 (sphinx10.patch):' + /bin/cat /builddir/build/SOURCES/sphinx10.patch + /usr/bin/patch -p0 -b --suffix .sphinx10 --fuzz=0 + /bin/sed -i -e 1,2d src/hypothesis/tools/mergedbs.py + rm -rf tests/django + rm -rf tests/fakefactory + rm -rf tests/nocover Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LkMjei + exit 0 + umask 022 + cd /builddir/build/BUILD + cd hypothesis-1.11.2 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/hypothesis copying src/hypothesis/version.py -> build/lib/hypothesis copying src/hypothesis/types.py -> build/lib/hypothesis copying src/hypothesis/strategytests.py -> build/lib/hypothesis copying src/hypothesis/strategies.py -> build/lib/hypothesis copying src/hypothesis/stateful.py -> build/lib/hypothesis copying src/hypothesis/specifiers.py -> build/lib/hypothesis copying src/hypothesis/settings.py -> build/lib/hypothesis copying src/hypothesis/reporting.py -> build/lib/hypothesis copying src/hypothesis/errors.py -> build/lib/hypothesis copying src/hypothesis/deprecation.py -> build/lib/hypothesis copying src/hypothesis/core.py -> build/lib/hypothesis copying src/hypothesis/control.py -> build/lib/hypothesis copying src/hypothesis/__init__.py -> build/lib/hypothesis creating build/lib/hypothesis/utils copying src/hypothesis/utils/size.py -> build/lib/hypothesis/utils copying src/hypothesis/utils/show.py -> build/lib/hypothesis/utils copying src/hypothesis/utils/idkey.py -> build/lib/hypothesis/utils copying src/hypothesis/utils/extmethod.py -> build/lib/hypothesis/utils copying src/hypothesis/utils/dynamicvariables.py -> build/lib/hypothesis/utils copying src/hypothesis/utils/conventions.py -> build/lib/hypothesis/utils copying src/hypothesis/utils/__init__.py -> build/lib/hypothesis/utils creating build/lib/hypothesis/tools copying src/hypothesis/tools/mergedbs.py -> build/lib/hypothesis/tools copying src/hypothesis/tools/__init__.py -> build/lib/hypothesis/tools creating build/lib/hypothesis/testrunners copying src/hypothesis/testrunners/forking.py -> build/lib/hypothesis/testrunners copying src/hypothesis/testrunners/__init__.py -> build/lib/hypothesis/testrunners creating build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/wrappers.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/strings.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/streams.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/strategies.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/reprwrapper.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/recursive.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/numbers.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/narytree.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/morphers.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/misc.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/flatmapped.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/collections.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/basic.py -> build/lib/hypothesis/searchstrategy copying src/hypothesis/searchstrategy/__init__.py -> build/lib/hypothesis/searchstrategy creating build/lib/hypothesis/internal copying src/hypothesis/internal/compat.py -> build/lib/hypothesis/internal copying src/hypothesis/internal/typechecking.py -> build/lib/hypothesis/internal copying src/hypothesis/internal/tracker.py -> build/lib/hypothesis/internal copying src/hypothesis/internal/reflection.py -> build/lib/hypothesis/internal copying src/hypothesis/internal/examplesource.py -> build/lib/hypothesis/internal copying src/hypothesis/internal/distributions.py -> build/lib/hypothesis/internal copying src/hypothesis/internal/debug.py -> build/lib/hypothesis/internal copying src/hypothesis/internal/classmap.py -> build/lib/hypothesis/internal copying src/hypothesis/internal/chooser.py -> build/lib/hypothesis/internal copying src/hypothesis/internal/__init__.py -> build/lib/hypothesis/internal creating build/lib/hypothesis/extra copying src/hypothesis/extra/pytestplugin.py -> build/lib/hypothesis/extra copying src/hypothesis/extra/numpy.py -> build/lib/hypothesis/extra copying src/hypothesis/extra/fakefactory.py -> build/lib/hypothesis/extra copying src/hypothesis/extra/datetime.py -> build/lib/hypothesis/extra copying src/hypothesis/extra/__init__.py -> build/lib/hypothesis/extra creating build/lib/hypothesis/executors copying src/hypothesis/executors/executors.py -> build/lib/hypothesis/executors copying src/hypothesis/executors/__init__.py -> build/lib/hypothesis/executors creating build/lib/hypothesis/database copying src/hypothesis/database/formats.py -> build/lib/hypothesis/database copying src/hypothesis/database/backend.py -> build/lib/hypothesis/database copying src/hypothesis/database/__init__.py -> build/lib/hypothesis/database creating build/lib/hypothesis/extra/django copying src/hypothesis/extra/django/models.py -> build/lib/hypothesis/extra/django copying src/hypothesis/extra/django/fixtures.py -> build/lib/hypothesis/extra/django copying src/hypothesis/extra/django/__init__.py -> build/lib/hypothesis/extra/django + cd docs + READTHEDOCS=True + make man sphinx-1.0-build -b man -d _build/doctrees . _build/man Making output directory... Running Sphinx v1.0.8 loading pickled environment... not yet created loading intersphinx inventory from http://docs.python.org/objects.inv... building [man]: all manpages updating environment: 15 added, 0 changed, 0 removed reading sources... [ 6%] changes reading sources... [ 13%] community reading sources... [ 20%] data reading sources... [ 26%] database reading sources... [ 33%] details reading sources... [ 40%] django reading sources... [ 46%] endorsements reading sources... [ 53%] examples reading sources... [ 60%] extras reading sources... [ 66%] index reading sources... [ 73%] internals reading sources... [ 80%] manifesto reading sources... [ 86%] quickstart reading sources... [ 93%] stateful reading sources... [100%] supported /builddir/build/BUILD/hypothesis-1.11.2/docs/data.rst:351: ERROR: Unknown directive type "code". .. code:: python from hypothesis.searchstrategy import BasicStrategy class Bitfields(BasicStrategy): """A BasicStrategy for generating 128 bit integers to be treated as if they were bitfields.""" def generate_parameter(self, random): # This controls the shape of the data that can be generated by # randomly screening off some bits. return random.getrandbits(128) def generate(self, random, parameter_value): # This generates a random value subject to a parameter we have # previously generated return parameter_value & random.getrandbits(128) def simplify(self, random, value): # Simplify by settings bits to zero. for i in range(128): k = 1 << i # It's important to test this because otherwise it would create a # cycle where value simplifies to value. This would cause # Hypothesis to get stuck on that value and not be able to simplify # it further. if value & k: yield value & (~k) def copy(self, value): # integers are immutable so there's no need to copy them return value /builddir/build/BUILD/hypothesis-1.11.2/docs/data.rst:404: ERROR: Unknown directive type "code". .. code:: python >>> basic(Bitfields).example() 70449389301502165026254673882738917538 >>> strategy(Bitfields()).example() 180947746395888412520415493036267606532 /builddir/build/BUILD/hypothesis-1.11.2/docs/data.rst:414: ERROR: Unknown directive type "code". .. code:: python >>> basic(generate=lambda random, _: random.getrandbits(8)).example() 88 /builddir/build/BUILD/hypothesis-1.11.2/docs/database.rst:58: ERROR: Unknown directive type "code". .. code:: .hypothesis/examples.db merge=hypothesisdb /builddir/build/BUILD/hypothesis-1.11.2/docs/database.rst:64: ERROR: Unknown directive type "code". .. code:: [merge "hypothesisdb"] name = Hypothesis database files driver = python -m hypothesis.tools.mergedbs %O %A %B /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:27: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given from hypothesis.strategies import floats @given(floats()) def test_negation_is_self_inverse(x): assert x == -(-x) /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:39: ERROR: Unknown directive type "code". .. code:: Falsifying example: test_negation_is_self_inverse(x=float('nan')) AssertionError /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:50: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given, assume from hypothesis.strategies import floats from math import isnan @given(floats()) def test_negation_is_self_inverse_for_non_nan(x): assume(not isnan(x)) assert x == -(-x) /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:74: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given, assume from hypothesis.strategies import floats @given(floats()) def test_negation_is_self_inverse_for_non_nan(x): assume(False) assert x == -(-x) /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:87: ERROR: Unknown directive type "code". .. code:: Unsatisfiable: Unable to satisfy assumptions of hypothesis test_negation_is_self_inverse_for_non_nan. Only 0 examples found after 0.0791318 seconds /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:102: ERROR: Unknown directive type "code". .. code:: python @given(lists(integers())) def test_sum_is_positive(xs): assert sum(xs) > 0 /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:129: ERROR: Unknown directive type "code". .. code:: python @given(lists(integers())) def test_sum_is_positive(xs): assume(len(xs) > 10) assume(all(x > 0 for x in xs)) print(xs) assert sum(xs) > 0 In: test_sum_is_positive() [17, 12, 7, 13, 11, 3, 6, 9, 8, 11, 47, 27, 1, 31, 1] [6, 2, 29, 30, 25, 34, 19, 15, 50, 16, 10, 3, 16] [25, 17, 9, 19, 15, 2, 2, 4, 22, 10, 10, 27, 3, 1, 14, 17, 13, 8, 16, 9, 2... [17, 65, 78, 1, 8, 29, 2, 79, 28, 18, 39] [13, 26, 8, 3, 4, 76, 6, 14, 20, 27, 21, 32, 14, 42, 9, 24, 33, 9, 5, 15, ... [2, 1, 2, 2, 3, 10, 12, 11, 21, 11, 1, 16] /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:163: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given, Settings @given(integers(), settings=Settings(max_examples=500)) def test_this_thoroughly(x): pass /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:178: ERROR: Unknown directive type "code". .. code:: python >>> from hypothesis import Settings >>> s = Settings() >>> s.max_examples 200 >>> Settings.default.max_examples = 100 >>> t = Settings() >>> t.max_examples 100 >>> s.max_examples 200 /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:195: ERROR: Unknown directive type "code". .. code:: python >>> with Settings(max_examples=150): ... print(Settings().max_examples) ... 150 >>> Settings().max_examples 200 /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:209: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given, Settings with Settings(max_examples=500): @given(integers()) def test_this_thoroughly(x): pass /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:238: ERROR: Unknown directive type "code". .. code:: python >>> from hypothesis import find, Settings, Verbosity >>> from hypothesis.strategies import lists, booleans >>> find(lists(booleans()), any, settings=Settings(verbosity=Verbosity.verbose)) Found satisfying example [True, True, ... Shrunk example to [False, False, False, True, ... Shrunk example to [False, False, True, False, False, ... Shrunk example to [False, True, False, True, True, ... Shrunk example to [True, True, True] Shrunk example to [True, True] Shrunk example to [True] [True] >>> from hypothesis import given >>> from hypothesis.strategies import integers() >>> Settings.default.verbosity = Verbosity.verbose >>> @given(integers()) ... def test_foo(x): ... assert x > 0 ... >>> test_foo() Trying example: test_foo(x=-565872324465712963891750807252490657219) Traceback (most recent call last): ... File "", line 3, in test_foo AssertionError Trying example: test_foo(x=565872324465712963891750807252490657219) Trying example: test_foo(x=0) Traceback (most recent call last): ... File "", line 3, in test_foo AssertionError Falsifying example: test_foo(x=0) Traceback (most recent call last): ... AssertionError /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:301: ERROR: Unknown directive type "code". .. code:: python >>> from hypothesis.strategies import integers >>> integers() RandomGeometricIntStrategy() | WideRangeIntStrategy() >>> integers(min_value=0) IntegersFromStrategy(0) >>> integers(min_value=0, max_value=10) BoundedIntStrategy(0, 10) /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:313: ERROR: Unknown directive type "code". .. code:: python >>> integers(min_value=0, max_value=10).example() 7 /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:321: ERROR: Unknown directive type "code". .. code:: python >>> from hypothesis.strategies import tuples >>> tuples(integers(), integers()).example() (-1953, 85733644253897814191482551773726674360154905303788466954) /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:340: ERROR: Unknown directive type "code". .. code:: python @given(integers(), integers()) def a(x, y): pass @given(integers()) def b(x, y): pass @given(y=integers()) def c(x, y): pass @given(x=integers(), y=integers()) def d(x, **kwargs): pass @given(x=integers(), y=integers()) def e(x, *args, **kwargs): pass class SomeTest(TestCase): @given(integers()) def test_a_thing(self, x): pass /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:370: ERROR: Unknown directive type "code". .. code:: python @given(integers(), integers(), integers()) def f(x, y): pass @given(integers()) def g(x, *args): pass @given(x=integers()) def h(x, y): pass @given() def i(x, y): pass /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:428: ERROR: Unknown directive type "code". .. code:: python def default_executor(function): return function() /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:439: ERROR: Unknown directive type "code". .. code:: python from unittest import TestCase class TestTryReallyHard(TestCase): @given(integers()) def test_something(self, i): perform_some_unreliable_operation(i) def execute_example(self, f): f() return f() /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:473: ERROR: Unknown directive type "code". .. code:: python from hypothesis.testrunners.forking import ForkingTestCase class TestForking(ForkingTestCase): @given(integers()) def test_handles_abnormal_exit(self, i): os._exit(1) @given(integers()) def test_normal_exceptions_work_too(self, i): assert False /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:509: ERROR: Unknown directive type "code". .. code:: python >>> from hypothesis import find >>> from hypothesis.strategies import sets, lists, integers >>> find(lists(integers()), lambda x: sum(x) >= 10) [10] >>> find(lists(integers()), lambda x: sum(x) >= 10 and len(x) >= 3) [0, 0, 10] >>> find(sets(integers()), lambda x: sum(x) >= 10 and len(x) >= 3) {0, 1, 9} /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:528: ERROR: Unknown directive type "code". .. code:: python >>> find(integers(), lambda x: False) Traceback (most recent call last): ... hypothesis.errors.NoSuchExample: No examples of conditition lambda x: >>> from hypothesis.strategies import booleans >>> find(booleans(), lambda x: False) Traceback (most recent call last): ... hypothesis.errors.DefinitelyNoSuchExample: No examples of conditition lambda x: (all 2 considered) /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:559: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given, example from hypothesis.strategies import text @given(text()) @example("Hello world") @example(x="Some very long string") def test_some_code(x): assert True /builddir/build/BUILD/hypothesis-1.11.2/docs/details.rst:580: ERROR: Unknown directive type "code". .. code:: python from unittest import TestCase from hypothesis import given, example from hypothesis.strategies import text class TestThings(TestCase): @given(text()) @example("Hello world") @example(x="Some very long string") def test_some_code(self, x): assert True /builddir/build/BUILD/hypothesis-1.11.2/docs/django.rst:74: ERROR: Unknown directive type "code". .. code:: python shop_strategy = models(Shop, company=models(Company)) /builddir/build/BUILD/hypothesis-1.11.2/docs/django.rst:92: ERROR: Unknown directive type "code". .. code:: python from hypothesis.extra.django.models import models from hypothesis.extra.django.fixtures import fixture from toystore.models import Company a_company = fixture( models(Company), lambda c: len(c.name) >= 10, ) /builddir/build/BUILD/hypothesis-1.11.2/docs/django.rst:107: ERROR: Unknown directive type "code". .. code:: python from hypothesis.extra.django.models import models from hypothesis.extra.django.fixtures import fixture from toystore.models import Company class TestCompany(TestCase): def test_can_find_unique_name(self): assert len(a_company().name) >= 10 /builddir/build/BUILD/hypothesis-1.11.2/docs/django.rst:129: ERROR: Unknown directive type "code". .. code:: python def test_two_calls_to_fixture_are_the_same(self): assert a_company().pk == a_company().pk /builddir/build/BUILD/hypothesis-1.11.2/docs/django.rst:137: ERROR: Unknown directive type "code". .. code:: python from hypothesis.extra.django.models import models from hypothesis.extra.django.fixtures import fixture from toystore.models import Company company1 = fixture(models(Company)) company2 = fixture(models(Company)) class TestCompany(TestCase): def test_two_fixtures(self): assert company1().pk != company2().pk /builddir/build/BUILD/hypothesis-1.11.2/docs/django.rst:155: ERROR: Unknown directive type "code". .. code:: python some_companies = fixture( models(Company), lambda cs: len({c.pk for c in cs}) >= 3 ) /builddir/build/BUILD/hypothesis-1.11.2/docs/django.rst:214: ERROR: Unknown directive type "code". .. code:: python from hypothesis.strategies import lists, just def generate_with_shops(company): return lists(models(Shop, company=just(company))).map(lambda _: company) company_with_shops_strategy = models(Company).flatmap(generate_with_shops) /builddir/build/BUILD/hypothesis-1.11.2/docs/django.rst:236: ERROR: Unknown directive type "code". .. code:: python models(Company).flatmap(lambda c: lists(models(Shop, company=just(c)))) /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:21: ERROR: Unknown directive type "code". .. code:: python class Node(object): def __init__(self, label, value): self.label = label self.value = tuple(value) def __repr__(self): return "Node(%r, %r)" % (self.label, self.value) def sorts_before(self, other): if len(self.value) >= len(other.value): return False return other.value[:len(self.value)] == self.value /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:49: ERROR: Unknown directive type "code". .. code:: python from functools import total_ordering @total_ordering class TopoKey(object): def __init__(self, node): self.value = node def __lt__(self, other): if self.value.sorts_before(other.value): return True if other.value.sorts_before(self.value): return False return self.value.label < other.value.label def sort_nodes(xs): xs.sort(key=TopoKey) /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:78: ERROR: Unknown directive type "code". .. code:: python def is_prefix_sorted(xs): for i in range(len(xs)): for j in range(i+1, len(xs)): if xs[j].sorts_before(xs[i]): return False return True /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:95: ERROR: Unknown directive type "code". .. code:: python from hypothesis import Settings, strategy import hypothesis.strategies as s NodeStrategy = s.builds( Node, s.integers(), s.lists(s.booleans(), average_size=5, max_size=10)) looking for now-outdated files... none found pickling environment... /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:112: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given @given(s.lists(Node)) def test_sorting_nodes_is_prefix_sorted(xs): sort_nodes(xs) assert is_prefix_sorted(xs) /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:123: ERROR: Unknown directive type "code". .. code:: python [Node(0, (False, True)), Node(0, (True,)), Node(0, (False,))] /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:135: ERROR: Unknown directive type "code". .. code:: python def deduplicate_nodes_by_label(nodes): table = {} for node in nodes: table[node.label] = node return list(table.values()) NodeSet = s.lists(Node).map(deduplicate_nodes_by_label) /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:151: ERROR: Unknown directive type "code". .. code:: python @given(NodeSet) def test_sorting_nodes_is_prefix_sorted(xs): sort_nodes(xs) assert is_prefix_sorted(xs) /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:160: ERROR: Unknown directive type "code". .. code:: python [Node(0, (False,)), Node(-1, (True,)), Node(-2, (False, False))]) /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:173: ERROR: Unknown directive type "code". .. code:: python def sort_nodes(xs): for i in hrange(1, len(xs)): j = i - 1 while j >= 0: if xs[j].sorts_before(xs[j+1]): break xs[j], xs[j+1] = xs[j+1], xs[j] j -= 1 /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:201: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given, Settings from hypothesis.extra.datetime import datetimes from hypothesis.strategies import sampled_from import pytz from datetime import timedelta ALL_TIMEZONES = list(map(pytz.timezone, pytz.all_timezones)) # There are a lot of fiddly edge cases in dates, so we run a larger number of # examples just to be sure with Settings(max_examples=1000): @given( datetimes(), # datetimes generated are non-naive by default sampled_from(ALL_TIMEZONES), sampled_from(ALL_TIMEZONES), ) def test_convert_via_intermediary(dt, tz1, tz2): """ Test that converting between timezones is not affected by a detour via another timezone. """ assert dt.astimezone(tz1).astimezone(tz2) == dt.astimezone(tz2) @given( datetimes(timezones=[]), # Now generate naive datetimes sampled_from(ALL_TIMEZONES), sampled_from(ALL_TIMEZONES), ) def test_convert_to_and_fro(dt, tz1, tz2): """ If we convert to a new timezone and back to the old one this should leave the result unchanged. """ dt = tz1.localize(dt) assert dt == dt.astimezone(tz2).astimezone(tz1) @given( datetimes(), sampled_from(ALL_TIMEZONES), ) def test_adding_an_hour_commutes(dt, tz): """ When converting between timezones it shouldn't matter if we add an hour here or add an hour there. """ an_hour = timedelta(hours=1) assert (dt + an_hour).astimezone(tz) == dt.astimezone(tz) + an_hour @given( datetimes(), sampled_from(ALL_TIMEZONES), ) def test_adding_a_day_commutes(dt, tz): """ When converting between timezones it shouldn't matter if we add a day here or add a day there. """ a_day = timedelta(days=1) assert (dt + a_day).astimezone(tz) == dt.astimezone(tz) + a_day /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:283: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given, assume from hypothesis.strategies import integers, lists from collections import Counter def candidates(votes): return {candidate for vote in votes for candidate in vote} def build_election(votes): """ Given a list of lists we extract an election out of this. We do this in two phases: 1. First of all we work out the full set of candidates present in all votes and throw away any votes that do not have that whole set. 2. We then take each vote and make it unique, keeping only the first instance of any candidate. This gives us a list of total orderings of some set. It will usually be a lot smaller than the starting list, but that's OK. """ all_candidates = candidates(votes) votes = list(filter(lambda v: set(v) == all_candidates, votes)) if not votes: return [] rebuilt_votes = [] for vote in votes: rv = [] for v in vote: if v not in rv: rv.append(v) assert len(rv) == len(all_candidates) rebuilt_votes.append(rv) return rebuilt_votes @given(lists(lists(integers(min_value=1, max_value=5)))) def test_elections_are_transitive(election): election = build_election(election) # Small elections are unlikely to be interesting assume(len(election) >= 3) all_candidates = candidates(election) # Elections with fewer than three candidates certainly can't exhibit # intransitivity assume(len(all_candidates) >= 3) # Now we check if the election is transitive # First calculate the pairwise counts of how many prefer each candidate # to the other counts = Counter() for vote in election: for i in range(len(vote)): for j in range(i+1, len(vote)): counts[(vote[i], vote[j])] += 1 # Now look at which pairs of candidates one has a majority over the # other and store that. graph = {} all_candidates = candidates(election) for i in all_candidates: for j in all_candidates: if counts[(i, j)] > counts[(j, i)]: graph.setdefault(i, set()).add(j) # Now for each triple assert that it is transitive. for x in all_candidates: for y in graph.get(x, ()): for z in graph.get(y, ()): assert x not in graph.get(z, ()) /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:360: ERROR: Unknown directive type "code". .. code:: python [[3, 1, 4], [4, 3, 1], [1, 4, 3]] /builddir/build/BUILD/hypothesis-1.11.2/docs/examples.rst:387: ERROR: Unknown directive type "code". .. code:: python import unittest from hypothesis import given, assume, Settings from collections import namedtuple import requests import os import random import time import math from hypothesis.strategies import one_of, sampled_from, lists # These tests will be quite slow because we have to talk to an external # service. Also we'll put in a sleep between calls so as to not hammer it. # As a result we reduce the number of test cases and turn off the timeout. Settings.default.max_examples = 100 Settings.default.timeout = -1 Goal = namedtuple("Goal", ("slug",)) # We just pass in our API credentials via environment variables. waspfinder_token = os.getenv('WASPFINDER_TOKEN') waspfinder_user = os.getenv('WASPFINDER_USER') assert waspfinder_token is not None assert waspfinder_user is not None GoalData = { 'title': str, 'goal_type': sampled_from(lists "hustler", "biker", "gainer", "fatloser", "inboxer", "drinker", "custom")), 'goaldate': one_of((None, float)), 'goalval': one_of((None, float)), 'rate': one_of((None, float)), 'initval': float, 'panic': float, 'secret': bool, 'datapublic': bool, } needs2 = ['goaldate', 'goalval', 'rate'] class WaspfinderTest(unittest.TestCase): @given(GoalData) def test_create_goal_dry_run(self, data): # We want slug to be unique for each run so that multiple test runs # don't interfere with eachother. If for some reason some slugs trigger # an error and others don't we'll get a Flaky error, but that's OK. slug = hex(random.getrandbits(32))[2:] # Use assume to guide us through validation we know about, otherwise # we'll spend a lot of time generating boring examples. # Title must not be empty assume(data["title"]) # Exactly two of these values should be not None. The other will be # inferred by the API. assume(len([1 for k in needs2 if data[k] is not None]) == 2) for v in data.values(): if isinstance(v, float): assume(not math.isnan(v)) data["slug"] = slug # The API nicely supports a dry run option, which means we don't have # to worry about the user account being spammed with lots of fake goals # Otherwise we would have to make sure we cleaned up after ourselves # in this test. data["dryrun"] = True data["auth_token"] = waspfinder_token for d, v in data.items(): if v is None: data[d] = "null" else: data[d] = str(v) result = requests.post( "https://waspfinder.example.com/api/v1/users/" "%s/goals.json" % (waspfinder_user,), data=data) # Lets not hammer the API too badly. This will of course make the # tests even slower than they otherwise would have been, but that's # life. time.sleep(1.0) # For the moment all we're testing is that this doesn't generate an # internal error. If we didn't use the dry run option we could have # then tried doing more with the result, but this is a good start. self.assertNotEqual(result.status_code, 500) if __name__ == '__main__': unittest.main() /builddir/build/BUILD/hypothesis-1.11.2/docs/internals.rst:73: ERROR: Unknown directive type "code". .. code:: python @given([int]) def test_lists_are_short(xs): assert len(xs) < 100 /builddir/build/BUILD/hypothesis-1.11.2/docs/internals.rst:91: ERROR: Unknown directive type "code". .. code:: python def minimize_with_shrinker(x, f, shrinker): """ Greedily apply a single shrinker function to find a smaller version of x which satisfies f. """ for s in shrinker(x): if f(s): return minimize_with_shrinker(s, f, shrinker) return x def shrink_pass(x, f): """ Apply each shrinker in turn to minimizing an example from x """ for shrinker in shrinkers: x = minimize_with_shrinker(x, f, shrinker) return x def minimize(x, f): """ Repeatedly do minimization passes on x until we hit a fixed point """ while True: shrunk = shrink_pass(x, f) if shrunk == x: return shrunk x = shrunk /builddir/build/BUILD/hypothesis-1.11.2/docs/internals.rst:134: ERROR: Unknown directive type "code". .. code:: python def all_shrinks(x): shrink in shrinkers: for s in shrink(x): yield s /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:22: ERROR: Unknown directive type "code". .. code:: python def encode(input_string): count = 1 prev = '' lst = [] for character in input_string: if character != prev: if prev: entry = (prev, count) lst.append(entry) count = 1 prev = character else: count += 1 else: entry = (character, count) lst.append(entry) return lst def decode(lst): q = '' for character, count in lst: q += character * count return q /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:60: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given from hypothesis.strategies import text @given(text()) def test_decode_inverts_encode(s): assert decode(encode(s)) == s /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:80: ERROR: Unknown directive type "code". .. code:: Falsifying example: test_decode_inverts_encode(s='') UnboundLocalError: local variable 'character' referenced before assignment /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:93: ERROR: Unknown directive type "code". .. code:: python if not input_string: return [] /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:102: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given, example from hypothesis.strategies import text @given(text()) @example('') def test_decode_inverts_encode(s): assert decode(encode(s)) == s /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:120: ERROR: Unknown directive type "code". .. code:: python @given(s=text()) @example(s='') def test_decode_inverts_encode(s): assert decode(encode(s)) == s /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:130: ERROR: Unknown directive type "code". .. code:: python def encode(input_string): count = 1 prev = '' lst = [] for character in input_string: if character != prev: if prev: entry = (prev, count) lst.append(entry) # count = 1 # Missing reset operation prev = character else: count += 1 else: entry = (character, count) lst.append(entry) return lst /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:152: ERROR: Unknown directive type "code". .. code:: Falsifying example: test_decode_inverts_encode(s='001') /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:176: ERROR: Unknown directive type "code". .. code:: bash pip install hypothesis /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:182: ERROR: Unknown directive type "code". .. code:: bash easy_install hypothesis /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:189: ERROR: Unknown directive type "code". .. code:: bash python setup.py install /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:196: ERROR: Unknown directive type "code". .. code:: bash python setup.py test /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:205: ERROR: Unknown directive type "code". .. code:: bash virtualenv venv source venv/bin/activate pip install hypothesis /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:221: ERROR: Unknown directive type "code". .. code:: python if __name__ == '__main__': test_decode_inverts_encode() /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:229: ERROR: Unknown directive type "code". .. code:: python import unittest class TestEncoding(unittest.TestCase): @given(text()) def test_decode_inverts_encode(self, s): self.assertEqual(decode(encode(s)), s) if __name__ == '__main__': unittest.main() /builddir/build/BUILD/hypothesis-1.11.2/docs/quickstart.rst:261: ERROR: Unknown directive type "code". .. code:: python from hypothesis import given import hypothesis.strategies as st @given(st.integers(), st.integers()) def test_ints_are_commutative(x, y): assert x + y == y + x @given(x=st.integers(), y=st.integers()) def test_ints_cancel(x, y): assert (x + y) - y == x @given(st.lists(st.integers())) def test_reversing_twice_gives_same_list(xs): # This will generate lists of arbitrary length (usually between 0 and # 100 elements) whose elements are integers. ys = list(xs) ys.reverse() ys.reverse() assert xs == ys @given(st.tuples(st.booleans(), st.text())) def test_look_tuples_work_too(t): # A tuple is generated as the one you provided, with the corresponding # types in those positions. assert len(t) == 2 assert isinstance(t[0], bool) assert isinstance(t[1], str) /builddir/build/BUILD/hypothesis-1.11.2/docs/stateful.rst:58: ERROR: Unknown directive type "code". .. code:: python import unittest from collections import namedtuple from hypothesis.stateful import RuleBasedStateMachine, Bundle, rule Leaf = namedtuple('Leaf', ('label',)) Split = namedtuple('Split', ('left', 'right')) class BalancedTrees(RuleBasedStateMachine): trees = Bundle('BinaryTree') @rule(target=trees, x=int) def leaf(self, x): return Leaf(x) @rule(target=trees, left=trees, right=trees) def split(self, left, right): return Split(left, right) @rule(tree=trees) def check_balanced(self, tree): if isinstance(tree, Leaf): return else: assert abs(self.size(tree.left) - self.size(tree.right)) <= 1 self.check_balanced(tree.left) self.check_balanced(tree.right) def size(self, tree): if isinstance(tree, Leaf): return 1 else: return 1 + self.size(tree.left) + self.size(tree.right) /builddir/build/BUILD/hypothesis-1.11.2/docs/stateful.rst:104: ERROR: Unknown directive type "code". .. code:: python TestTrees = BalancedTrees.TestCase if __name__ == '__main__': unittest.main() /builddir/build/BUILD/hypothesis-1.11.2/docs/stateful.rst:114: ERROR: Unknown directive type "code". .. code:: bash Step #1: v1 = leaf(x=0) Step #2: v2 = split(left=v1, right=v1) Step #3: v3 = split(left=v2, right=v1) Step #4: check_balanced(tree=v3) F ====================================================================== FAIL: runTest (hypothesis.stateful.BalancedTrees.TestCase) ---------------------------------------------------------------------- Traceback (most recent call last): (...) assert abs(self.size(tree.left) - self.size(tree.right)) <= 1 AssertionError /builddir/build/BUILD/hypothesis-1.11.2/docs/stateful.rst:138: ERROR: Unknown directive type "code". .. code:: python from collections import namedtuple from hypothesis.stateful import RuleBasedStateMachine, Bundle, rule Leaf = namedtuple('Leaf', ('label',)) Split = namedtuple('Split', ('left', 'right')) class BalancedTrees(RuleBasedStateMachine): trees = Bundle('BinaryTree') balanced_trees = Bundle('balanced BinaryTree') @rule(target=trees, x=int) def leaf(self, x): return Leaf(x) @rule(target=trees, left=trees, right=trees) def split(self, left, right): return Split(left, right) @rule(tree=balanced_trees) def check_balanced(self, tree): if isinstance(tree, Leaf): return else: assert abs(self.size(tree.left) - self.size(tree.right)) <= 1, \ repr(tree) self.check_balanced(tree.left) self.check_balanced(tree.right) @rule(target=balanced_trees, tree=trees) def balance_tree(self, tree): return self.split_leaves(self.flatten(tree)) def size(self, tree): if isinstance(tree, Leaf): return 1 else: return self.size(tree.left) + self.size(tree.right) def flatten(self, tree): if isinstance(tree, Leaf): return (tree.label,) else: return self.flatten(tree.left) + self.flatten(tree.right) def split_leaves(self, leaves): assert leaves if len(leaves) == 1: return Leaf(leaves[0]) else: mid = len(leaves) // 2 return Split( self.split_leaves(leaves[:mid]), self.split_leaves(leaves[mid:]), ) /builddir/build/BUILD/hypothesis-1.11.2/docs/stateful.rst:213: ERROR: Unknown directive type "code". .. code:: python v1 = leaf(x=0) v2 = split(left=v1, right=v1) v3 = balance_tree(tree=v1) v4 = split(left=v2, right=v2) v5 = balance_tree(tree=v4) check_balanced(tree=v5) /builddir/build/BUILD/hypothesis-1.11.2/docs/stateful.rst:232: ERROR: Unknown directive type "code". .. code:: python TestTrees.settings.max_examples = 100 TestTrees.settings.stateful_step_count = 100 /builddir/build/BUILD/hypothesis-1.11.2/docs/stateful.rst:254: ERROR: Unknown directive type "code". .. code:: python machine = MyStateMachine() try: for _ in range(n_steps): step = machine.steps().example() machine.execute_step(step) finally: machine.teardown() /builddir/build/BUILD/hypothesis-1.11.2/docs/stateful.rst:279: ERROR: Unknown directive type "code". .. code:: python try: machine = MyStateMachine() for step in steps: machine.execute_step(step) finally: machine.teardown() /builddir/build/BUILD/hypothesis-1.11.2/docs/stateful.rst:296: ERROR: Unknown directive type "code". .. code:: python import unittest from hypothesis.stateful import GenericStateMachine from hypothesis import strategy from hypothesis.strategies import tuples, sampled_from, just, integers class BrokenSet(GenericStateMachine): def __init__(self): self.data = [] def steps(self): add_strategy = tuples(just("add"), integers()) if not self.data: return add_strategy else: return ( add_strategy | tuples(just("delete"), sampled_from(self.data))) def execute_step(self, step): action, value = step if action == 'delete': try: self.data.remove(value) except ValueError: pass assert value not in self.data else: assert action == 'add' self.data.append(value) assert value in self.data TestSet = BrokenSet.TestCase if __name__ == '__main__': unittest.main() /builddir/build/BUILD/hypothesis-1.11.2/docs/stateful.rst:343: ERROR: Unknown directive type "code". .. code:: bash Step #1: ('add', 0) Step #2: ('add', 0) Step #3: ('delete', 0) F ====================================================================== FAIL: runTest (hypothesis.stateful.BrokenSet.TestCase) ---------------------------------------------------------------------- Traceback (most recent call last): (...) assert value not in self.data AssertionError done checking consistency... done writing... hypothesis.1 { quickstart django details data extras database stateful supported examples internals community manifesto changes endorsements } build succeeded, 80 warnings. Build finished. The manual pages are in _build/man. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AEOXB4 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386 ++ dirname /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386 + cd hypothesis-1.11.2 + LANG=C + export LANG + unset DISPLAY + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386 running install running install_lib creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6 creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/database copying build/lib/hypothesis/database/__init__.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/database copying build/lib/hypothesis/database/backend.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/database copying build/lib/hypothesis/database/formats.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/database creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/executors copying build/lib/hypothesis/executors/__init__.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/executors copying build/lib/hypothesis/executors/executors.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/executors creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/django copying build/lib/hypothesis/extra/django/__init__.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/django copying build/lib/hypothesis/extra/django/fixtures.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/django copying build/lib/hypothesis/extra/django/models.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/django copying build/lib/hypothesis/extra/__init__.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra copying build/lib/hypothesis/extra/datetime.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra copying build/lib/hypothesis/extra/fakefactory.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra copying build/lib/hypothesis/extra/numpy.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra copying build/lib/hypothesis/extra/pytestplugin.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal copying build/lib/hypothesis/internal/__init__.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal copying build/lib/hypothesis/internal/chooser.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal copying build/lib/hypothesis/internal/classmap.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal copying build/lib/hypothesis/internal/debug.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal copying build/lib/hypothesis/internal/distributions.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal copying build/lib/hypothesis/internal/examplesource.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal copying build/lib/hypothesis/internal/reflection.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal copying build/lib/hypothesis/internal/tracker.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal copying build/lib/hypothesis/internal/typechecking.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal copying build/lib/hypothesis/internal/compat.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/__init__.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/basic.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/collections.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/flatmapped.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/misc.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/morphers.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/narytree.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/numbers.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/recursive.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/reprwrapper.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/strategies.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/streams.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/strings.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy copying build/lib/hypothesis/searchstrategy/wrappers.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/testrunners copying build/lib/hypothesis/testrunners/__init__.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/testrunners copying build/lib/hypothesis/testrunners/forking.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/testrunners creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/tools copying build/lib/hypothesis/tools/__init__.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/tools copying build/lib/hypothesis/tools/mergedbs.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/tools creating /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils copying build/lib/hypothesis/utils/__init__.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils copying build/lib/hypothesis/utils/conventions.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils copying build/lib/hypothesis/utils/dynamicvariables.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils copying build/lib/hypothesis/utils/extmethod.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils copying build/lib/hypothesis/utils/idkey.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils copying build/lib/hypothesis/utils/show.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils copying build/lib/hypothesis/utils/size.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils copying build/lib/hypothesis/__init__.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/control.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/core.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/deprecation.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/errors.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/reporting.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/settings.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/specifiers.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/stateful.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/strategies.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/strategytests.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/types.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis copying build/lib/hypothesis/version.py -> /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/database/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/database/backend.py to backend.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/database/formats.py to formats.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/executors/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/executors/executors.py to executors.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/django/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/django/fixtures.py to fixtures.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/django/models.py to models.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/__init__.py to __init__.pyc SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/hypothesis/extra/django/models.py', 92, 19, ' missed = {x for x in mandatory if x not in extra}\n')) byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/datetime.py to datetime.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/fakefactory.py to fakefactory.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/numpy.py to numpy.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/pytestplugin.py to pytestplugin.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal/chooser.py to chooser.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal/classmap.py to classmap.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal/debug.py to debug.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal/distributions.py to distributions.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal/examplesource.py to examplesource.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal/reflection.py to reflection.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal/tracker.py to tracker.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal/typechecking.py to typechecking.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/internal/compat.py to compat.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/basic.py to basic.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/collections.py to collections.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/flatmapped.py to flatmapped.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/misc.py to misc.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/morphers.py to morphers.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/narytree.py to narytree.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/numbers.py to numbers.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/recursive.py to recursive.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/reprwrapper.py to reprwrapper.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/strategies.py to strategies.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/streams.py to streams.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/strings.py to strings.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/searchstrategy/wrappers.py to wrappers.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/testrunners/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/testrunners/forking.py to forking.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/tools/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/tools/mergedbs.py to mergedbs.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils/conventions.py to conventions.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils/dynamicvariables.py to dynamicvariables.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils/extmethod.py to extmethod.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils/idkey.py to idkey.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils/show.py to show.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/utils/size.py to size.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/control.py to control.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/core.py to core.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/deprecation.py to deprecation.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/errors.py to errors.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/reporting.py to reporting.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/settings.py to settings.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/specifiers.py to specifiers.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/stateful.py to stateful.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/strategies.py to strategies.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/strategytests.py to strategytests.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/types.py to types.pyc byte-compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/version.py to version.pyc running install_egg_info running egg_info creating src/hypothesis.egg-info writing requirements to src/hypothesis.egg-info/requires.txt writing src/hypothesis.egg-info/PKG-INFO writing top-level names to src/hypothesis.egg-info/top_level.txt writing dependency_links to src/hypothesis.egg-info/dependency_links.txt writing entry points to src/hypothesis.egg-info/entry_points.txt writing manifest file 'src/hypothesis.egg-info/SOURCES.txt' reading manifest file 'src/hypothesis.egg-info/SOURCES.txt' writing manifest file 'src/hypothesis.egg-info/SOURCES.txt' Copying src/hypothesis.egg-info to /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis-1.11.2-py2.6.egg-info running install_scripts + /usr/bin/install -Dp -m 644 docs/_build/man/hypothesis.1 /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/share/man/man1/hypothesis.1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/hypothesis-1.11.2 find: `debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile Bytecompiling .py files below /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6 using /usr/bin/python2.6 Compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/django/models.py ... SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/hypothesis/extra/django/models.py', 92, 19, ' missed = {x for x in mandatory if x not in extra}\n')) Compiling /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/lib/python2.6/site-packages/hypothesis/extra/django/models.py ... SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/hypothesis/extra/django/models.py', 92, 19, ' missed = {x for x in mandatory if x not in extra}\n')) + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FjUShT + umask 022 + cd /builddir/build/BUILD + cd hypothesis-1.11.2 + unset DISPLAY + rm -rf tests/py2 + exit 0 Processing files: python2-hypothesis-1.11.2-2.el6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EVKIYH + umask 022 + cd /builddir/build/BUILD + cd hypothesis-1.11.2 + DOCDIR=/builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/share/doc/python2-hypothesis-1.11.2 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/share/doc/python2-hypothesis-1.11.2 + /bin/mkdir -p /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/share/doc/python2-hypothesis-1.11.2 + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/share/doc/python2-hypothesis-1.11.2 + cp -pr README.rst /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386/usr/share/doc/python2-hypothesis-1.11.2 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: python(abi) = 2.6 Obsoletes: python-hypothesis < 1.11.1-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386 warning: Could not canonicalize hostname: copr-builder-870507993.novalocal Wrote: /builddir/build/RPMS/python2-hypothesis-1.11.2-2.el6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.i3sSgT + umask 022 + cd /builddir/build/BUILD + cd hypothesis-1.11.2 + /bin/rm -rf /builddir/build/BUILDROOT/python-hypothesis-1.11.2-2.el6.i386 + exit 0 Child return code was: 0 LEAVE do -->