FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2018 PLD Team
$Revision: 1.37 $
Powered by The Right Thing.
Your IP: 54.234.228.78

python-pytest 16e3eada-e25b-463c-9479-191a25a3c304

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/i686/FAIL/python-pytest,16e3eada-e25b-463c-9479-191a25a3c304.bz2
text/plain URL:View!
rpm -qa of builder:View!
Date:2018/11/28 21:14:40
Runtime:0:05:13.203924

Toc:

  • error 1
  • rpm: error: Failed build dependencies:
  • error 2
  • rpm: error: Failed build dependencies:
  • prep
  • Executing(%prep): /bin/sh -e /tmp/B.YzbR5F/BUILD/tmp/rpm-tmp.39102
  • build
  • Executing(%build): /bin/sh -e /tmp/B.YzbR5F/BUILD/tmp/rpm-tmp.39102
  • error 3
  • E KeyError: 'test_remember_rewritten_modules'
  • error 4
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 5
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 6
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 7
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 8
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 9
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 10
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 11
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 12
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 13
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 14
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 15
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 16
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 17
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 18
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 19
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128)
  • error 20
  • E AssertionError: assert None is not None
  • error 21
  • E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 53: ordinal not in range(128)"
  • error 22
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 53: ordinal not in range(128)
  • error 23
  • E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 137: ordinal not in range(128)"
  • error 24
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 137: ordinal not in range(128)
  • error 25
  • E and: u"INTERNALERROR> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 102: ordinal not in range(128)"
  • error 26
  • INTERNALERROR> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 102: ordinal not in range(128)
  • error 27
  • E TypeError: object of type 'NoneType' has no len()
  • error 28
  • E AssertionError: assert 'test_code_fullsource()' in 'None'
  • error 29
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 1938: ordinal not in range(128)
  • error 30
  • E TypeError: 'NoneType' object has no attribute '__getitem__'
  • error 31
  • E AssertionError: assert False
  • error 32
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128)
  • error 33
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128)
  • error 34
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128)
  • error 35
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128)
  • error 36
  • except IndentationError:
  • error 37
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128)
  • error 38
  • E AssertionError: assert 'test_findsource_simple' in 'None'
  • error 39
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128)
  • error 40
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128)
  • error 41
  • E AssertionError: assert 'oops' in 'test_fixture.py 78 INFO boo arg\ntest_fixture.py 79 INFO bar arg1\nbaz arg2\n'
  • error 42
  • E and: u'E ImportError: Something bad happened \u263a'
  • error 43
  • ============================= test session starts ==============================\nplatform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0\nhypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')\nrootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_show_traceback_import_error_unicode0, inifile:\nplugins: pyfakefs-3.4.3, hypothesis-3.82.1\ncollected 0 items / 1 errors\n\n==================================== ERRORS ====================================\n_________ ERROR collecting test_show_traceback_import_error_unicode.py _________\nImportError while importing test module '/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_show_traceback_import_error_unicode0/test_show_traceback_import_error_unicode.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n/usr/share/python2.7/site-packages/six.py:709: in exec_\n ???\ntest_show_traceback_import_error_unicode.py:2: in <module>\n ???\nE ImportError: Something bad happened \u263a\n!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!\n=========================== 1 error in 0.09 seconds ============================
  • error 44
  • E and: u' except IndentationError:'
  • error 45
  • except IndentationError:
  • error 46
  • E and: u' except IndentationError:'
  • error 47
  • except IndentationError:
  • error 48
  • E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)"
  • error 49
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)
  • error 50
  • E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)"
  • error 51
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)
  • error 52
  • E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)"
  • error 53
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)
  • error 54
  • E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)"
  • error 55
  • E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)
  • error 56
  • error: Bad exit status from /tmp/B.YzbR5F/BUILD/tmp/rpm-tmp.39102 (%build)
  • error 57
  • RPM build errors:
  • error 58
  • error: No files produced.

Content:

request from: qboosh
checking if we should skip the build
started at: Wed Nov 28 21:08:53 2018
killing old processes on a builder
sending signal 9 to pid -1
Killed
cleaning up /tmp
fetching https://srcbuilder.pld-linux.org/th//srpms/16e3eada-e25b-463c-9479-191a25a3c304/python-pytest-3.10.1-1.src.rpm
fetched 909205 bytes, 931.6 K/s
installing srpm: python-pytest-3.10.1-1.src.rpm
+ install -d /tmp/B.YzbR5F/BUILD /tmp/B.YzbR5F/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog python-pytest-3.10.1-1.src.rpm
* Wed Nov 28 2018 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/python-pytest.git;a=log;h=master
* Wed Nov 28 2018 Jakub Bogusz <qboosh@pld-linux.org> 9c502aa
- updated to 3.10.1 * Sat Jul 21 2018 Jakub Bogusz <qboosh@pld-linux.org> 12e2dfa
- adjusted python3egg hack for different setuptools versions - one test requires pydoc (uses help()) - release 2 * Sat Jul 21 2018 Jakub Bogusz <qboosh@pld-linux.org> 0537ae4
- more modules that cause tests to fail * Sat Jul 21 2018 Jakub Bogusz <qboosh@pld-linux.org> b67a8b0
- tests BR: python more_itertools module * Sat Jul 21 2018 Jakub Bogusz <qboosh@pld-linux.org> 65ffd36
- updated to 3.6.3 - added tests patch (workaround for some type issue) * Sun Jul 01 2018 Arkadiusz Miśkiewicz <arekm@maven.pl> 7c315ee
- release 3 (by relup.sh) * Mon Apr 30 2018 Elan Ruusamäe <glen@pld-linux.org> 2084a84
- require package containing pdb + rpm -Uhv --nodeps --define '_topdir /tmp/B.YzbR5F' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' python-pytest-3.10.1-1.src.rpm Preparing... ################################################## python-pytest ################################################## + rm -f python-pytest-3.10.1-1.src.rpm + install -m 700 -d /tmp/B.YzbR5F/BUILD/tmp + TMPDIR=/tmp/B.YzbR5F/BUILD/tmp + exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.YzbR5F' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'prep exit 0' /tmp/B.YzbR5F/python-pytest.spec Building target platforms: i686-pld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: error: Failed build dependencies: rpm: python-pathlib2 >= 2.2.0 is needed by python-pytest-3.10.1-1.src rpm: Building target platforms: i686-pld-linux updating poldek cache... ready is up to date Retrieving th::packages.ndir.md... th is up to date Retrieving th::packages.ndir.md... th is up to date Retrieving th-ready::packages.ndir.md... th-ready is up to date Retrieving th-ready::packages.ndir.md... th-ready is up to date Retrieving th-test::packages.ndir.md... Retrieving th-test::packages.ndir.diff.toc.gz... Retrieving diff::packages.ndir.2018.11.28-07.16.01.gz... ..............................done Retrieving diff::packages.ndir.dscr.2018.11.28-07.16.01.gz... Loading [pndir]th-test... Applying packages.ndir.2018.11.28-07.16.01.gz... Retrieving diff::packages.ndir.2018.11.28-09.53.01.gz... Retrieving diff::packages.ndir.dscr.2018.11.28-09.53.01.gz... Applying packages.ndir.2018.11.28-09.53.01.gz... Retrieving diff::packages.ndir.2018.11.28-10.45.01.gz... ..............................done Retrieving diff::packages.ndir.dscr.2018.11.28-10.45.01.gz... ..............................done Applying packages.ndir.2018.11.28-10.45.01.gz... Writing /root/tmp/poldek-cache-root/[...]/packages.ndir.gz... Retrieving th-test::packages.ndir.md... Retrieving th-test::packages.ndir.diff.toc.gz... Retrieving diff::packages.ndir.2018.11.28-01.04.01.gz... Retrieving diff::packages.ndir.dscr.2018.11.28-01.04.01.gz... Loading [pndir]th-test... Applying packages.ndir.2018.11.28-01.04.01.gz... Writing /root/tmp/poldek-cache-root/[...]/packages.ndir.gz... checking conflicting packages in BRed packages poldek: Loading [pndir]ready... poldek: Loading [pndir]th-test... poldek: Loading [pndir]th-test... poldek: Loading [pndir]th-ready... poldek: Loading [pndir]th-ready... poldek: Loading [pndir]th... poldek: Loading [pndir]th... poldek: 30550 packages read poldek: Removed 3382 duplicate packages from available set poldek: Processing dependencies... poldek: There are 1 package to install: poldek: I python-pathlib2-2.3.2-1.noarch poldek: This operation will use 112.1KB of disk space. poldek: Need to get 27.9KB of archives. poldek: Executing pm-command.sh --upgrade -vh --test --root / --define _check_dirname_deps 1... poldek: Preparing... ################################################## no conflicts found checking BR rpm: error: Failed build dependencies: rpm: python-pathlib2 >= 2.2.0 is needed by python-pytest-3.10.1-1.src rpm: Building target platforms: i686-pld-linux installing BR: python\-pathlib2 + poldek --noask --caplookup -Q -v '--ignore=hhvm-*' '--ignore=php4-*' '--ignore=php52-*' '--ignore=php54-*' '--ignore=php55-*' '--ignore=php56-*' '--ignore=php70-*' '--ignore=php71-*' '--ignore=php72-*' '--ignore=php73-*' --upgrade python-pathlib2 Loading [pndir]ready... Loading [pndir]th-test... Loading [pndir]th-test... Loading [pndir]th-ready... Loading [pndir]th-ready... Loading [pndir]th... Loading [pndir]th... 30550 packages read Removed 3382 duplicate packages from available set Processing dependencies... There are 1 package to install: I python-pathlib2-2.3.2-1.noarch This operation will use 112.1KB of disk space. Need to get 27.9KB of archives. Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... Preparing... ################################################## python-pathlib2 ################################################## building RPM using: set -ex; : build-id: 16e3eada-e25b-463c-9479-191a25a3c304; TMPDIR=/tmp/B.YzbR5F/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.YzbR5F' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.YzbR5F/python-pytest.spec + : build-id: 16e3eada-e25b-463c-9479-191a25a3c304 + TMPDIR=/tmp/B.YzbR5F/BUILD/tmp + exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.YzbR5F' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.YzbR5F/python-pytest.spec Building target platforms: i686-pld-linux Executing(%prep): /bin/sh -e /tmp/B.YzbR5F/BUILD/tmp/rpm-tmp.39102 + umask 022 + cd /tmp/B.YzbR5F/BUILD + cd /tmp/B.YzbR5F/BUILD + rm -rf pytest-3.10.1 + /usr/bin/gzip -dc /tmp/B.YzbR5F/pytest-3.10.1.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-3.10.1 + /bin/id -u + '[' 1001 '=' 0 ']' + /bin/id -u + '[' 1001 '=' 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-pytest-tests.patch):' Patch #0 (python-pytest-tests.patch): + '[' -f /tmp/B.YzbR5F/python-pytest-tests.patch ']' + /bin/cat /tmp/B.YzbR5F/python-pytest-tests.patch + /usr/bin/patch -s -p1 + exit 0 Executing(%build): /bin/sh -e /tmp/B.YzbR5F/BUILD/tmp/rpm-tmp.39102 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/home/users/builder/bin TMPDIR=/tmp/B.YzbR5F/BUILD/tmp + umask 022 + cd /tmp/B.YzbR5F/BUILD + cd pytest-3.10.1 + LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' + export LDFLAGS + CFLAGS=' -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' + export CFLAGS + CXXFLAGS=' -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' + export CXXFLAGS + CC=i686-pld-linux-gcc + export CC + CXX=i686-pld-linux-g++ + export CXX + /usr/bin/python2 setup.py build '--build-base=build-2' running build running build_py creating build-2 creating build-2/lib copying src/pytest.py -> build-2/lib creating build-2/lib/_pytest copying src/_pytest/__init__.py -> build-2/lib/_pytest copying src/_pytest/_argcomplete.py -> build-2/lib/_pytest copying src/_pytest/_version.py -> build-2/lib/_pytest copying src/_pytest/cacheprovider.py -> build-2/lib/_pytest copying src/_pytest/capture.py -> build-2/lib/_pytest copying src/_pytest/compat.py -> build-2/lib/_pytest copying src/_pytest/debugging.py -> build-2/lib/_pytest copying src/_pytest/deprecated.py -> build-2/lib/_pytest copying src/_pytest/doctest.py -> build-2/lib/_pytest copying src/_pytest/fixtures.py -> build-2/lib/_pytest copying src/_pytest/freeze_support.py -> build-2/lib/_pytest copying src/_pytest/helpconfig.py -> build-2/lib/_pytest copying src/_pytest/hookspec.py -> build-2/lib/_pytest copying src/_pytest/junitxml.py -> build-2/lib/_pytest copying src/_pytest/logging.py -> build-2/lib/_pytest copying src/_pytest/main.py -> build-2/lib/_pytest copying src/_pytest/monkeypatch.py -> build-2/lib/_pytest copying src/_pytest/nodes.py -> build-2/lib/_pytest copying src/_pytest/nose.py -> build-2/lib/_pytest copying src/_pytest/outcomes.py -> build-2/lib/_pytest copying src/_pytest/pastebin.py -> build-2/lib/_pytest copying src/_pytest/pathlib.py -> build-2/lib/_pytest copying src/_pytest/pytester.py -> build-2/lib/_pytest copying src/_pytest/python.py -> build-2/lib/_pytest copying src/_pytest/python_api.py -> build-2/lib/_pytest copying src/_pytest/recwarn.py -> build-2/lib/_pytest copying src/_pytest/reports.py -> build-2/lib/_pytest copying src/_pytest/resultlog.py -> build-2/lib/_pytest copying src/_pytest/runner.py -> build-2/lib/_pytest copying src/_pytest/setuponly.py -> build-2/lib/_pytest copying src/_pytest/setupplan.py -> build-2/lib/_pytest copying src/_pytest/skipping.py -> build-2/lib/_pytest copying src/_pytest/stepwise.py -> build-2/lib/_pytest copying src/_pytest/terminal.py -> build-2/lib/_pytest copying src/_pytest/tmpdir.py -> build-2/lib/_pytest copying src/_pytest/unittest.py -> build-2/lib/_pytest copying src/_pytest/warning_types.py -> build-2/lib/_pytest copying src/_pytest/warnings.py -> build-2/lib/_pytest creating build-2/lib/_pytest/assertion copying src/_pytest/assertion/__init__.py -> build-2/lib/_pytest/assertion copying src/_pytest/assertion/rewrite.py -> build-2/lib/_pytest/assertion copying src/_pytest/assertion/truncate.py -> build-2/lib/_pytest/assertion copying src/_pytest/assertion/util.py -> build-2/lib/_pytest/assertion creating build-2/lib/_pytest/_code copying src/_pytest/_code/__init__.py -> build-2/lib/_pytest/_code copying src/_pytest/_code/_py2traceback.py -> build-2/lib/_pytest/_code copying src/_pytest/_code/code.py -> build-2/lib/_pytest/_code copying src/_pytest/_code/source.py -> build-2/lib/_pytest/_code creating build-2/lib/_pytest/mark copying src/_pytest/mark/__init__.py -> build-2/lib/_pytest/mark copying src/_pytest/mark/evaluate.py -> build-2/lib/_pytest/mark copying src/_pytest/mark/legacy.py -> build-2/lib/_pytest/mark copying src/_pytest/mark/structures.py -> build-2/lib/_pytest/mark creating build-2/lib/_pytest/config copying src/_pytest/config/__init__.py -> build-2/lib/_pytest/config copying src/_pytest/config/argparsing.py -> build-2/lib/_pytest/config copying src/_pytest/config/exceptions.py -> build-2/lib/_pytest/config copying src/_pytest/config/findpaths.py -> build-2/lib/_pytest/config + pwd + PYTHONPATH=/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src /usr/bin/python2 -m pytest -k 'not test_pdb and not TestTerminal' testing ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples') rootdir: /tmp/B.YzbR5F/BUILD/pytest-3.10.1, inifile: tox.ini plugins: pyfakefs-3.4.3, hypothesis-3.82.1 collected 2307 items / 71 deselected testing/acceptance_test.py ............................................. [ 2%] .............x...s....... [ 3%] testing/deprecated_test.py ...................... [ 4%] testing/test_argcomplete.py .. [ 4%] testing/test_assertion.py .............................................. [ 6%] ........................s........... [ 7%] testing/test_assertrewrite.py .............s..F......................FF. [ 9%] ....sFFFFFsFFFFFFFFF.F [ 10%] testing/test_cacheprovider.py ......................................... [ 12%] testing/test_capture.py .........s..............s..............x........ [ 14%] ......................s..s...................s.................... [ 17%] testing/test_collection.py ..............................x.............. [ 19%] ................... [ 20%] testing/test_compat.py ...ss... [ 20%] testing/test_config.py .........x.....s................................. [ 23%] ...................................... [ 24%] testing/test_conftest.py ............................................... [ 26%] .... [ 27%] testing/test_doctest.py ................................................ [ 29%] .........................................F...F.... [ 31%] testing/test_entry_points.py ... [ 31%] testing/test_helpconfig.py ....... [ 31%] testing/test_junitxml.py ............................................... [ 33%] .s.x...... [ 34%] testing/test_mark.py ................................................... [ 36%] ...................x.................. [ 38%] testing/test_modimport.py .............................................. [ 40%] ... [ 40%] testing/test_monkeypatch.py .................................... [ 42%] testing/test_nodes.py .......... [ 42%] testing/test_nose.py ................... [ 43%] testing/test_parseopt.py ...........................s [ 44%] testing/test_pastebin.py .... [ 44%] testing/test_pathlib.py ..................................... [ 46%] testing/test_pluginmanager.py ........................... [ 47%] testing/test_pytester.py .............x................ [ 49%] testing/test_recwarn.py ...................................... [ 50%] testing/test_resultlog.py ........... [ 51%] testing/test_runner.py .........................sssssss....ssss......x.. [ 53%] ..................... [ 54%] testing/test_runner_xunit.py ............... [ 55%] testing/test_session.py ...................... [ 56%] testing/test_skipping.py ............................................... [ 58%] ............................. [ 59%] testing/test_stepwise.py ...... [ 59%] testing/test_terminal.py ............................................... [ 61%] ........................................sss.....s [ 64%] testing/test_tmpdir.py ...........s........ [ 64%] testing/test_unittest.py .......................s....................... [ 67%] .. [ 67%] testing/test_warnings.py ............sF................ [ 68%] testing/code/test_code.py .F....FFF...... [ 69%] testing/code/test_excinfo.py .F......................................... [ 71%] .......................ssssss..................... [ 73%] testing/code/test_source.py .................................FF.F......F [ 75%] ..F.FF.F.FF...........F [ 76%] testing/examples/test_issue519.py . [ 76%] testing/freeze/tests/test_doctest.txt . [ 76%] testing/freeze/tests/test_trivial.py .. [ 76%] testing/logging/test_fixture.py .....F.... [ 76%] testing/logging/test_formatter.py . [ 77%] testing/logging/test_reporting.py ................................ [ 78%] testing/python/approx.py ............................................... [ 80%] .... [ 80%] testing/python/collect.py .............................................. [ 82%] ..........F........................... [ 84%] testing/python/fixture.py ........FF...................x................ [ 86%] ........................................................................ [ 89%] ............................FFFF............................... [ 92%] testing/python/integration.py ....xsss........... [ 93%] testing/python/metafunc.py .............................x............... [ 95%] ...................................................... [ 97%] testing/python/raises.py ................. [ 98%] testing/python/setup_only.py ........................ [ 99%] testing/python/setup_plan.py . [ 99%] testing/python/show_fixtures_per_test.py ...... [100%] =================================== FAILURES =================================== _____________ TestRewriteOnImport.test_remember_rewritten_modules ______________ self = <test_assertrewrite.TestRewriteOnImport object at 0xf464db0c> pytestconfig = <_pytest.config.Config object at 0xf6837b6c> testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_remember_rewritten_modules0')> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf464da8c> > ??? ../../../../pytest-3.10.1/testing/test_assertrewrite.py:815: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0xf403130c> name = 'test_remember_rewritten_modules' def load_module(self, name): > co, pyc = self.modules.pop(name) E KeyError: 'test_remember_rewritten_modules' ../../../../pytest-3.10.1/src/_pytest/assertion/rewrite.py:276: KeyError ________________________ TestAssertionRewrite.test_name ________________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf3d9938c> > ??? testing/test_assertrewrite.py:157: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf3d9920c> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _____________ TestAssertionRewrite.test_assert_already_has_message _____________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf406c52c> > ??? testing/test_assertrewrite.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf406cd6c> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _______________________ TestAssertionRewrite.test_boolop _______________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf444ed0c> > ??? testing/test_assertrewrite.py:266: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf444e3cc> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ______________ TestAssertionRewrite.test_short_circuit_evaluation ______________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf417904c> > ??? testing/test_assertrewrite.py:344: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf4691acc> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ______________________ TestAssertionRewrite.test_unary_op ______________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf40fdc0c> > ??? testing/test_assertrewrite.py:357: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf40fd26c> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _____________________ TestAssertionRewrite.test_binary_op ______________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf462e48c> > ??? testing/test_assertrewrite.py:383: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf462eb4c> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ___________________ TestAssertionRewrite.test_boolop_percent ___________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf43475ec> > ??? testing/test_assertrewrite.py:394: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf4347c4c> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ________________________ TestAssertionRewrite.test_call ________________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf442c1ac> > ??? testing/test_assertrewrite.py:425: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf442c40c> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _____________________ TestAssertionRewrite.test_attribute ______________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf4367fac> > ??? testing/test_assertrewrite.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf44feeac> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ____________________ TestAssertionRewrite.test_comparisons _____________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf40df70c> > ??? testing/test_assertrewrite.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf40df2cc> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ________________________ TestAssertionRewrite.test_len _________________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf415d84c> > ??? testing/test_assertrewrite.py:549: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf415d34c> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _________________ TestAssertionRewrite.test_custom_reprcompare _________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf404574c> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf4045e6c> > ??? testing/test_assertrewrite.py:563: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf4045aec> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ________ TestAssertionRewrite.test_assert_raising_nonzero_in_comparison ________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf45570cc> > ??? testing/test_assertrewrite.py:592: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf45572ac> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _____________________ TestAssertionRewrite.test_formatchar _____________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf4233e0c> > ??? testing/test_assertrewrite.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf42330ac> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ____________________ TestAssertionRewrite.test_custom_repr _____________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf45becac> > ??? testing/test_assertrewrite.py:611: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf45bebac> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _______________ TestAssertionRewrite.test_custom_repr_non_ascii ________________ self = <test_assertrewrite.TestAssertionRewrite object at 0xf4083fcc> > ??? testing/test_assertrewrite.py:624: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/test_assertrewrite.py:49: in getmsg ??? src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf408354c> input = 'ssert (\n getmsg(f, ns)\n == """assert False\n + where False = g(*[1, 2, 3])"""\n )\n\n....chmod(old_mode ^ stat.S_IWRITE)\n testdir.makepyfile(\n """\n def test_rewritten():\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3213: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _______________________ test_rewrite_infinite_recursion ________________________ testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_rewrite_infinite_recursion0')> pytestconfig = <_pytest.config.Config object at 0xf6837b6c> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf452dd0c> > ??? E AssertionError: assert None is not None E + where None = <bound method AssertionRewritingHook.find_module of <_pytest.assertion.rewrite.AssertionRewritingHook object at 0xf452d0ec>>('test_foo') E + where <bound method AssertionRewritingHook.find_module of <_pytest.assertion.rewrite.AssertionRewritingHook object at 0xf452d0ec>> = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0xf452d0ec>.find_module ../../../../pytest-3.10.1/testing/test_assertrewrite.py:1212: AssertionError ______________________ TestDoctests.test_contains_unicode ______________________ self = <test_doctest.TestDoctests object at 0xf3a1bc2c> testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_contains_unicode0')> > ??? E Failed: nomatch: 'Got nothing' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0' E and: u"hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')" E and: u'rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_contains_unicode0, inifile:' E and: u'plugins: pyfakefs-3.4.3, hypothesis-3.82.1' E and: u'collected 0 items / 1 errors' E and: u'' E and: u'==================================== ERRORS ====================================' E and: u'__________________ ERROR collecting test_contains_unicode.py ___________________' E and: u'/usr/lib/python2.7/doctest.py:901: in find' E and: u' source_lines = linecache.getlines(file, module.__dict__)' E and: u'/usr/lib/python2.7/linecache.py:41: in getlines' E and: u' return updatecache(filename, module_globals)' E and: u'/usr/lib/python2.7/linecache.py:132: in updatecache' E and: u' lines = fp.readlines()' E and: u'/usr/lib/python2.7/encodings/ascii.py:26: in decode' E and: u' return codecs.ascii_decode(input, self.errors)[0]' E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 53: ordinal not in range(128)" E and: u'!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!' E and: u'=========================== 1 error in 0.10 seconds ============================' E and: u'' E remains unmatched: 'Got nothing' ../../../../pytest-3.10.1/testing/test_doctest.py:581: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples') rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_contains_unicode0, inifile: plugins: pyfakefs-3.4.3, hypothesis-3.82.1 collected 0 items / 1 errors ==================================== ERRORS ==================================== __________________ ERROR collecting test_contains_unicode.py ___________________ /usr/lib/python2.7/doctest.py:901: in find source_lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() /usr/lib/python2.7/encodings/ascii.py:26: in decode return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 53: ordinal not in range(128) !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 1 error in 0.10 seconds ============================ ___________________ TestDoctests.test_unicode_doctest_module ___________________ self = <test_doctest.TestDoctests object at 0xf385c8ac> testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_unicode_doctest_module0')> > ??? E Failed: nomatch: '* 1 passed *' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0' E and: u"hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')" E and: u'rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_unicode_doctest_module0, inifile:' E and: u'plugins: pyfakefs-3.4.3, hypothesis-3.82.1' E and: u'collected 0 items / 1 errors' E and: u'' E and: u'==================================== ERRORS ====================================' E and: u'_______________ ERROR collecting test_unicode_doctest_module.py ________________' E and: u'/usr/lib/python2.7/doctest.py:901: in find' E and: u' source_lines = linecache.getlines(file, module.__dict__)' E and: u'/usr/lib/python2.7/linecache.py:41: in getlines' E and: u' return updatecache(filename, module_globals)' E and: u'/usr/lib/python2.7/linecache.py:132: in updatecache' E and: u' lines = fp.readlines()' E and: u'/usr/lib/python2.7/encodings/ascii.py:26: in decode' E and: u' return codecs.ascii_decode(input, self.errors)[0]' E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 137: ordinal not in range(128)" E and: u'!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!' E and: u'=========================== 1 error in 0.27 seconds ============================' E and: u'' E remains unmatched: '* 1 passed *' ../../../../pytest-3.10.1/testing/test_doctest.py:661: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples') rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_unicode_doctest_module0, inifile: plugins: pyfakefs-3.4.3, hypothesis-3.82.1 collected 0 items / 1 errors ==================================== ERRORS ==================================== _______________ ERROR collecting test_unicode_doctest_module.py ________________ /usr/lib/python2.7/doctest.py:901: in find source_lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() /usr/lib/python2.7/encodings/ascii.py:26: in decode return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 137: ordinal not in range(128) !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 1 error in 0.27 seconds ============================ _______________________________ test_py2_unicode _______________________________ testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_py2_unicode0')> pyfile_with_warnings = None > ??? E Failed: nomatch: u'*== warnings summary ==*' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0' E and: u"hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')" E and: u'rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_py2_unicode0, inifile:' E and: u'plugins: pyfakefs-3.4.3, hypothesis-3.82.1' E and: u'collected 1 item' E and: u'' E and: u'test_py2_unicode.py . [100%]' E and: u'INTERNALERROR> Traceback (most recent call last):' E and: u'INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/main.py", line 184, in wrap_session' E and: u'INTERNALERROR> session.exitstatus = doit(config, session) or 0' E and: u'INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/main.py", line 224, in _main' E and: u'INTERNALERROR> config.hook.pytest_runtestloop(session=session)' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/hooks.py", line 284, in __call__' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 67, in _hookexec' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 80, in __call__' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 81, in get_result' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 52, in from_call' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 78, in <lambda>' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 61, in <lambda>' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 208, in _multicall' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 81, in get_result' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 187, in _multicall' E and: u'INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/main.py", line 245, in pytest_runtestloop' E and: u'INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/hooks.py", line 284, in __call__' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 67, in _hookexec' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 80, in __call__' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 81, in get_result' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 52, in from_call' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 78, in <lambda>' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 61, in <lambda>' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 203, in _multicall' E and: u'INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/warnings.py", line 138, in pytest_runtest_protocol' E and: u'INTERNALERROR> yield' E and: u'INTERNALERROR> File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__' E and: u'INTERNALERROR> self.gen.next()' E and: u'INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/warnings.py", line 97, in catch_warnings_for_item' E and: u'INTERNALERROR> kwargs=dict(warning_message=warning_message, when=when, item=item)' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/hooks.py", line 306, in call_historic' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 67, in _hookexec' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 80, in __call__' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 81, in get_result' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 52, in from_call' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 78, in <lambda>' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 61, in <lambda>' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 208, in _multicall' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 81, in get_result' E and: u'INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 187, in _multicall' E and: u'INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/terminal.py", line 345, in pytest_warning_captured' E and: u'INTERNALERROR> message = warning_record_to_str(warning_message)' E and: u'INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/warnings.py", line 122, in warning_record_to_str' E and: u'INTERNALERROR> warning_message.line,' E and: u'INTERNALERROR> File "/usr/lib/python2.7/warnings.py", line 51, in formatwarning' E and: u'INTERNALERROR> line = linecache.getline(filename, lineno) if line is None else line' E and: u'INTERNALERROR> File "/usr/lib/python2.7/linecache.py", line 14, in getline' E and: u'INTERNALERROR> lines = getlines(filename, module_globals)' E and: u'INTERNALERROR> File "/usr/lib/python2.7/linecache.py", line 41, in getlines' E and: u'INTERNALERROR> return updatecache(filename, module_globals)' E and: u'INTERNALERROR> File "/usr/lib/python2.7/linecache.py", line 132, in updatecache' E and: u'INTERNALERROR> lines = fp.readlines()' E and: u'INTERNALERROR> File "/usr/lib/python2.7/encodings/ascii.py", line 26, in decode' E and: u'INTERNALERROR> return codecs.ascii_decode(input, self.errors)[0]' E and: u"INTERNALERROR> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 102: ordinal not in range(128)" E and: u'' E and: u'=========================== 1 passed in 0.04 seconds ===========================' E and: u'' E remains unmatched: u'*== warnings summary ==*' ../../../../pytest-3.10.1/testing/test_warnings.py:191: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples') rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_py2_unicode0, inifile: plugins: pyfakefs-3.4.3, hypothesis-3.82.1 collected 1 item test_py2_unicode.py . [100%] INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/main.py", line 184, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/main.py", line 224, in _main INTERNALERROR> config.hook.pytest_runtestloop(session=session) INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/hooks.py", line 284, in __call__ INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 67, in _hookexec INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 80, in __call__ INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 81, in get_result INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 78, in <lambda> INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 61, in <lambda> INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 81, in get_result INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/main.py", line 245, in pytest_runtestloop INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/hooks.py", line 284, in __call__ INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 67, in _hookexec INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 80, in __call__ INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 81, in get_result INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 78, in <lambda> INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 61, in <lambda> INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 203, in _multicall INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/warnings.py", line 138, in pytest_runtest_protocol INTERNALERROR> yield INTERNALERROR> File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ INTERNALERROR> self.gen.next() INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/warnings.py", line 97, in catch_warnings_for_item INTERNALERROR> kwargs=dict(warning_message=warning_message, when=when, item=item) INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/hooks.py", line 306, in call_historic INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 67, in _hookexec INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 80, in __call__ INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 81, in get_result INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/_tracing.py", line 78, in <lambda> INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/manager.py", line 61, in <lambda> INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 81, in get_result INTERNALERROR> File "/usr/share/python2.7/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/terminal.py", line 345, in pytest_warning_captured INTERNALERROR> message = warning_record_to_str(warning_message) INTERNALERROR> File "/tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/warnings.py", line 122, in warning_record_to_str INTERNALERROR> warning_message.line, INTERNALERROR> File "/usr/lib/python2.7/warnings.py", line 51, in formatwarning INTERNALERROR> line = linecache.getline(filename, lineno) if line is None else line INTERNALERROR> File "/usr/lib/python2.7/linecache.py", line 14, in getline INTERNALERROR> lines = getlines(filename, module_globals) INTERNALERROR> File "/usr/lib/python2.7/linecache.py", line 41, in getlines INTERNALERROR> return updatecache(filename, module_globals) INTERNALERROR> File "/usr/lib/python2.7/linecache.py", line 132, in updatecache INTERNALERROR> lines = fp.readlines() INTERNALERROR> File "/usr/lib/python2.7/encodings/ascii.py", line 26, in decode INTERNALERROR> return codecs.ascii_decode(input, self.errors)[0] INTERNALERROR> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 102: ordinal not in range(128) =========================== 1 passed in 0.04 seconds =========================== ______________________ TestTracebackEntry.test_getsource _______________________ self = <test_code.TestTracebackEntry object at 0xf2d7074c> > ??? E TypeError: object of type 'NoneType' has no len() ../../../../../pytest-3.10.1/testing/code/test_code.py:187: TypeError _____________________________ test_code_fullsource _____________________________ > ??? E AssertionError: assert 'test_code_fullsource()' in 'None' E + where 'None' = str(None) ../../../../../pytest-3.10.1/testing/code/test_code.py:50: AssertionError _______________________________ test_code_source _______________________________ > ??? ../../../../../pytest-3.10.1/testing/code/test_code.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../../pytest-3.10.1/src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf31829ec> input = '# coding: utf-8\nfrom __future__ import absolute_import\nfrom __future__ import division\nfrom __future__ import prin...tionInfo()\n assert exci.getrepr()\n\n\nclass TestTracebackEntry(object):\n def test_getsource(self):\n ' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 1938: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ______________________ test_frame_getsourcelineno_myself _______________________ > ??? E TypeError: 'NoneType' object has no attribute '__getitem__' ../../../../../pytest-3.10.1/testing/code/test_code.py:68: TypeError ______________ TestTraceback_f_g_h.test_traceback_entry_getsource ______________ self = <test_excinfo.TestTraceback_f_g_h object at 0xf2fd26ac> > ??? E AssertionError: assert False E + where False = <built-in method startswith of str object at 0xf2fd2a80>('def f():') E + where <built-in method startswith of str object at 0xf2fd2a80> = 'None'.startswith ../../../../../pytest-3.10.1/testing/code/test_excinfo.py:147: AssertionError __________________________ test_source_from_function ___________________________ > ??? ../../../../../pytest-3.10.1/testing/code/test_source.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf329a3ac> input = '# -*- coding: utf-8 -*-\n# flake8: noqa\n# disable flake check on this file because some constructs are strange\n# or...code.compile("x=3")\n d = {}\n exec(co, d)\n assert d["x"] == 3\n\n def test_compile_and_getso' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ___________________________ test_source_from_method ____________________________ > ??? ../../../../../pytest-3.10.1/testing/code/test_source.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf2d43a0c> input = '# -*- coding: utf-8 -*-\n# flake8: noqa\n# disable flake check on this file because some constructs are strange\n# or...code.compile("x=3")\n d = {}\n exec(co, d)\n assert d["x"] == 3\n\n def test_compile_and_getso' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _______________________ test_source_from_inner_function ________________________ > ??? ../../../../../pytest-3.10.1/testing/code/test_source.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf3291f4c> input = '# -*- coding: utf-8 -*-\n# flake8: noqa\n# disable flake check on this file because some constructs are strange\n# or...code.compile("x=3")\n d = {}\n exec(co, d)\n assert d["x"] == 3\n\n def test_compile_and_getso' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _______________________ test_getstartingblock_singleline _______________________ > ??? E assert 0 == 1 E + where 0 = len([]) ../../../../../pytest-3.10.1/testing/code/test_source.py:357: AssertionError ____________________ test_getfuncsource_with_multine_string ____________________ > ??? ../../../../../pytest-3.10.1/testing/code/test_source.py:404: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf32a8aec> input = '# -*- coding: utf-8 -*-\n# flake8: noqa\n# disable flake check on this file because some constructs are strange\n# or...code.compile("x=3")\n d = {}\n exec(co, d)\n assert d["x"] == 3\n\n def test_compile_and_getso' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _________________ test_source_of_class_at_eof_without_newline __________________ tmpdir = local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_source_of_class_at_eof_wi0') > ??? ../../../../../pytest-3.10.1/testing/code/test_source.py:433: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = <class 'a.A'>, kwargs = {'deindent': True} getrawcode = <function getrawcode at 0xf70a66bc> strsrc = 'class A(object): def method(self): x = 1 ' def getsource(obj, **kwargs): from .code import getrawcode obj = getrawcode(obj) try: strsrc = inspect.getsource(obj) except IndentationError: strsrc = '"Buggy python version consider upgrading, cannot get source"' > assert isinstance(strsrc, str) E AssertionError ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:257: AssertionError ___________________________ test_getsource_fallback ____________________________ > ??? ../../../../../pytest-3.10.1/testing/code/test_source.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf443be8c> input = '# -*- coding: utf-8 -*-\n# flake8: noqa\n# disable flake check on this file because some constructs are strange\n# or...code.compile("x=3")\n d = {}\n exec(co, d)\n assert d["x"] == 3\n\n def test_compile_and_getso' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ___________________________ test_findsource_fallback ___________________________ > ??? E AssertionError: assert 'test_findsource_simple' in 'None' E + where 'None' = str(None) ../../../../../pytest-3.10.1/testing/code/test_source.py:465: AssertionError _______________________________ test_getfslineno _______________________________ > ??? ../../../../../pytest-3.10.1/testing/code/test_source.py:505: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf327130c> input = '# -*- coding: utf-8 -*-\n# flake8: noqa\n# disable flake check on this file because some constructs are strange\n# or...code.compile("x=3")\n d = {}\n exec(co, d)\n assert d["x"] == 3\n\n def test_compile_and_getso' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError ____________________ test_code_of_object_instance_with_call ____________________ > ??? ../../../../../pytest-3.10.1/testing/code/test_source.py:529: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../../pytest-3.10.1/src/_pytest/_code/code.py:87: in source return _pytest._code.Source(self.raw) ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines ../../../../../pytest-3.10.1/src/_pytest/_code/source.py:254: in getsource strsrc = inspect.getsource(obj) /usr/lib/python2.7/inspect.py:700: in getsource lines, lnum = getsourcelines(object) /usr/lib/python2.7/inspect.py:689: in getsourcelines lines, lnum = findsource(object) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf32d8eec> input = '# -*- coding: utf-8 -*-\n# flake8: noqa\n# disable flake check on this file because some constructs are strange\n# or...code.compile("x=3")\n d = {}\n exec(co, d)\n assert d["x"] == 3\n\n def test_compile_and_getso' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 851: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError _______________________ test_getstartingblock_multiline ________________________ > ??? E assert 0 == 4 E + where 0 = len([]) ../../../../../pytest-3.10.1/testing/code/test_source.py:749: AssertionError ________________________________ test_messages _________________________________ caplog = <_pytest.logging.LogCaptureFixture object at 0xf2e93a0c> > ??? E AssertionError: assert 'oops' in 'test_fixture.py 78 INFO boo arg\ntest_fixture.py 79 INFO bar arg1\nbaz arg2\n' E + where 'test_fixture.py 78 INFO boo arg\ntest_fixture.py 79 INFO bar arg1\nbaz arg2\n' = <_pytest.logging.LogCaptureFixture object at 0xf2e93a0c>.text ../../../../../pytest-3.10.1/testing/logging/test_fixture.py:90: AssertionError ------------------------------ Captured log call ------------------------------- test_fixture.py 78 INFO boo arg test_fixture.py 79 INFO bar arg1 baz arg2 _____________ TestModule.test_show_traceback_import_error_unicode ______________ self = <collect.TestModule object at 0xf382b2ac> testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_show_traceback_import_error_unicode0')> > ??? E Failed: nomatch: 'ImportError while importing test module*' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0' E and: u"hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')" E and: u'rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_show_traceback_import_error_unicode0, inifile:' E and: u'plugins: pyfakefs-3.4.3, hypothesis-3.82.1' E and: u'collected 0 items / 1 errors' E and: u'' E and: u'==================================== ERRORS ====================================' E and: u'_________ ERROR collecting test_show_traceback_import_error_unicode.py _________' E fnmatch: 'ImportError while importing test module*' E with: u"ImportError while importing test module '/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_show_traceback_import_error_unicode0/test_show_traceback_import_error_unicode.py'." E nomatch: 'Traceback:' E and: u'Hint: make sure your test modules/packages have valid Python names.' E exact match: 'Traceback:' E nomatch: '*raise ImportError*Something bad happened*' E and: u'/usr/share/python2.7/site-packages/six.py:709: in exec_' E and: u' ???' E and: u'test_show_traceback_import_error_unicode.py:2: in <module>' E and: u' ???' E and: u'E ImportError: Something bad happened \u263a' E and: u'!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!' E and: u'=========================== 1 error in 0.09 seconds ============================' E and: u'' E remains unmatched: '*raise ImportError*Something bad happened*' ../../../../pytest-3.10.1/testing/python/collect.py:133: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ==============================\nplatform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0\nhypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')\nrootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_show_traceback_import_error_unicode0, inifile:\nplugins: pyfakefs-3.4.3, hypothesis-3.82.1\ncollected 0 items / 1 errors\n\n==================================== ERRORS ====================================\n_________ ERROR collecting test_show_traceback_import_error_unicode.py _________\nImportError while importing test module '/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_show_traceback_import_error_unicode0/test_show_traceback_import_error_unicode.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n/usr/share/python2.7/site-packages/six.py:709: in exec_\n ???\ntest_show_traceback_import_error_unicode.py:2: in <module>\n ???\nE ImportError: Something bad happened \u263a\n!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!\n=========================== 1 error in 0.09 seconds ============================ ______ TestContextManagerFixtureFuncs.test_yields_more_than_one[fixture] _______ self = <fixture.TestContextManagerFixtureFuncs object at 0xf314a2cc> testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_yields_more_than_one0')> flavor = None > ??? E Failed: nomatch: '*fixture function*' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0' E and: u"hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')" E and: u'rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_yields_more_than_one0, inifile:' E and: u'plugins: pyfakefs-3.4.3, hypothesis-3.82.1' E and: u'collected 1 item' E and: u'' E and: u'test_yields_more_than_one.py .E' E and: u'' E and: u'==================================== ERRORS ====================================' E and: u'_________________________ ERROR at teardown of test_1 __________________________' E and: u'' E and: u"self = <CallInfo when='teardown' exception: >" E and: u"func = <function <lambda> at 0xf2cec764>, when = 'teardown'" E and: u'treat_keyboard_interrupt_as_exception = False' E and: u'' E and: u' def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):' E and: u' #: context of invocation: one of "setup", "call",' E and: u' #: "teardown", "memocollect"' E and: u' self.when = when' E and: u' self.start = time()' E and: u' try:' E and: u'> self.result = func()' E and: u'' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:212: ' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:194: in <lambda>' E and: u' lambda: ihook(item=item, **kwds),' E and: u'/usr/share/python2.7/site-packages/pluggy/hooks.py:284: in __call__' E and: u' ???' E and: u'/usr/share/python2.7/site-packages/pluggy/manager.py:67: in _hookexec' E and: u' ???' E and: u'/usr/share/python2.7/site-packages/pluggy/_tracing.py:80: in __call__' E and: u' ???' E and: u'/usr/share/python2.7/site-packages/pluggy/_tracing.py:78: in <lambda>' E and: u' ???' E and: u'/usr/share/python2.7/site-packages/pluggy/manager.py:61: in <lambda>' E and: u' ???' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:136: in pytest_runtest_teardown' E and: u' item.session._setupstate.teardown_exact(item, nextitem)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:351: in teardown_exact' E and: u' self._teardown_towards(needed_collectors)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:366: in _teardown_towards' E and: u' six.reraise(*exc)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:359: in _teardown_towards' E and: u' self._pop_and_teardown()' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:316: in _pop_and_teardown' E and: u' self._teardown_with_finalization(colitem)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:334: in _teardown_with_finalization' E and: u' self._callfinalizers(colitem)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:331: in _callfinalizers' E and: u' six.reraise(*exc)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:324: in _callfinalizers' E and: u' fin()' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:891: in finish' E and: u' six.reraise(*e)' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:885: in finish' E and: u' func()' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:841: in _teardown_yield_fixture' E fnmatch: '*fixture function*' E with: u' fixturefunc, "yield_fixture function has more than one \'yield\'"' E nomatch: '*test_yields*:2*' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:816: in fail_fixturefunc' E and: u' source = _pytest._code.Source(fixturefunc)' E and: u'../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__' E and: u' partlines = getsource(part, deindent=de).lines' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'' E and: u'obj = <code object arg1 at 0xf2c5cf08, file "/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_yields_more_than_one0/test_yields_more_than_one.py", line 2>' E and: u"kwargs = {'deindent': True}, getrawcode = <function getrawcode at 0xf70a66bc>" E and: u'strsrc = \'@fixture(scope="module")' E and: u'def arg1():' E and: u' yield 1' E and: u' yield 2' E and: u"'" E and: u'' E and: u' def getsource(obj, **kwargs):' E and: u' from .code import getrawcode' E and: u' ' E and: u' obj = getrawcode(obj)' E and: u' try:' E and: u' strsrc = inspect.getsource(obj)' E and: u' except IndentationError:' E and: u' strsrc = \'"Buggy python version consider upgrading, cannot get source"\'' E and: u'> assert isinstance(strsrc, str)' E and: u'E AssertionError' E and: u'' E and: u'../../../../pytest-3.10.1/src/_pytest/_code/source.py:257: AssertionError' E and: u'====================== 1 passed, 1 error in 0.31 seconds =======================' E and: u'' E remains unmatched: '*test_yields*:2*' ../../../../pytest-3.10.1/testing/python/fixture.py:3585: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples') rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_yields_more_than_one0, inifile: plugins: pyfakefs-3.4.3, hypothesis-3.82.1 collected 1 item test_yields_more_than_one.py .E ==================================== ERRORS ==================================== _________________________ ERROR at teardown of test_1 __________________________ self = <CallInfo when='teardown' exception: > func = <function <lambda> at 0xf2cec764>, when = 'teardown' treat_keyboard_interrupt_as_exception = False def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ../../../../pytest-3.10.1/src/_pytest/runner.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../pytest-3.10.1/src/_pytest/runner.py:194: in <lambda> lambda: ihook(item=item, **kwds), /usr/share/python2.7/site-packages/pluggy/hooks.py:284: in __call__ ??? /usr/share/python2.7/site-packages/pluggy/manager.py:67: in _hookexec ??? /usr/share/python2.7/site-packages/pluggy/_tracing.py:80: in __call__ ??? /usr/share/python2.7/site-packages/pluggy/_tracing.py:78: in <lambda> ??? /usr/share/python2.7/site-packages/pluggy/manager.py:61: in <lambda> ??? ../../../../pytest-3.10.1/src/_pytest/runner.py:136: in pytest_runtest_teardown item.session._setupstate.teardown_exact(item, nextitem) ../../../../pytest-3.10.1/src/_pytest/runner.py:351: in teardown_exact self._teardown_towards(needed_collectors) ../../../../pytest-3.10.1/src/_pytest/runner.py:366: in _teardown_towards six.reraise(*exc) ../../../../pytest-3.10.1/src/_pytest/runner.py:359: in _teardown_towards self._pop_and_teardown() ../../../../pytest-3.10.1/src/_pytest/runner.py:316: in _pop_and_teardown self._teardown_with_finalization(colitem) ../../../../pytest-3.10.1/src/_pytest/runner.py:334: in _teardown_with_finalization self._callfinalizers(colitem) ../../../../pytest-3.10.1/src/_pytest/runner.py:331: in _callfinalizers six.reraise(*exc) ../../../../pytest-3.10.1/src/_pytest/runner.py:324: in _callfinalizers fin() ../../../../pytest-3.10.1/src/_pytest/fixtures.py:891: in finish six.reraise(*e) ../../../../pytest-3.10.1/src/_pytest/fixtures.py:885: in finish func() ../../../../pytest-3.10.1/src/_pytest/fixtures.py:841: in _teardown_yield_fixture fixturefunc, "yield_fixture function has more than one 'yield'" ../../../../pytest-3.10.1/src/_pytest/fixtures.py:816: in fail_fixturefunc source = _pytest._code.Source(fixturefunc) ../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = <code object arg1 at 0xf2c5cf08, file "/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_yields_more_than_one0/test_yields_more_than_one.py", line 2> kwargs = {'deindent': True}, getrawcode = <function getrawcode at 0xf70a66bc> strsrc = '@fixture(scope="module") def arg1(): yield 1 yield 2 ' def getsource(obj, **kwargs): from .code import getrawcode obj = getrawcode(obj) try: strsrc = inspect.getsource(obj) except IndentationError: strsrc = '"Buggy python version consider upgrading, cannot get source"' > assert isinstance(strsrc, str) E AssertionError ../../../../pytest-3.10.1/src/_pytest/_code/source.py:257: AssertionError ====================== 1 passed, 1 error in 0.31 seconds ======================= ___ TestContextManagerFixtureFuncs.test_yields_more_than_one[yield_fixture] ____ self = <fixture.TestContextManagerFixtureFuncs object at 0xf38cec0c> testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_yields_more_than_one1')> flavor = None > ??? E Failed: nomatch: '*fixture function*' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0' E and: u"hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')" E and: u'rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_yields_more_than_one1, inifile:' E and: u'plugins: pyfakefs-3.4.3, hypothesis-3.82.1' E and: u'collected 1 item' E and: u'' E and: u'test_yields_more_than_one.py .E' E and: u'' E and: u'==================================== ERRORS ====================================' E and: u'_________________________ ERROR at teardown of test_1 __________________________' E and: u'' E and: u"self = <CallInfo when='teardown' exception: >" E and: u"func = <function <lambda> at 0xf2c85a3c>, when = 'teardown'" E and: u'treat_keyboard_interrupt_as_exception = False' E and: u'' E and: u' def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):' E and: u' #: context of invocation: one of "setup", "call",' E and: u' #: "teardown", "memocollect"' E and: u' self.when = when' E and: u' self.start = time()' E and: u' try:' E and: u'> self.result = func()' E and: u'' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:212: ' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:194: in <lambda>' E and: u' lambda: ihook(item=item, **kwds),' E and: u'/usr/share/python2.7/site-packages/pluggy/hooks.py:284: in __call__' E and: u' ???' E and: u'/usr/share/python2.7/site-packages/pluggy/manager.py:67: in _hookexec' E and: u' ???' E and: u'/usr/share/python2.7/site-packages/pluggy/_tracing.py:80: in __call__' E and: u' ???' E and: u'/usr/share/python2.7/site-packages/pluggy/_tracing.py:78: in <lambda>' E and: u' ???' E and: u'/usr/share/python2.7/site-packages/pluggy/manager.py:61: in <lambda>' E and: u' ???' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:136: in pytest_runtest_teardown' E and: u' item.session._setupstate.teardown_exact(item, nextitem)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:351: in teardown_exact' E and: u' self._teardown_towards(needed_collectors)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:366: in _teardown_towards' E and: u' six.reraise(*exc)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:359: in _teardown_towards' E and: u' self._pop_and_teardown()' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:316: in _pop_and_teardown' E and: u' self._teardown_with_finalization(colitem)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:334: in _teardown_with_finalization' E and: u' self._callfinalizers(colitem)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:331: in _callfinalizers' E and: u' six.reraise(*exc)' E and: u'../../../../pytest-3.10.1/src/_pytest/runner.py:324: in _callfinalizers' E and: u' fin()' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:891: in finish' E and: u' six.reraise(*e)' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:885: in finish' E and: u' func()' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:841: in _teardown_yield_fixture' E fnmatch: '*fixture function*' E with: u' fixturefunc, "yield_fixture function has more than one \'yield\'"' E nomatch: '*test_yields*:2*' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:816: in fail_fixturefunc' E and: u' source = _pytest._code.Source(fixturefunc)' E and: u'../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__' E and: u' partlines = getsource(part, deindent=de).lines' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'' E and: u'obj = <code object arg1 at 0xf2b8a698, file "/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_yields_more_than_one1/test_yields_more_than_one.py", line 2>' E and: u"kwargs = {'deindent': True}, getrawcode = <function getrawcode at 0xf70a66bc>" E and: u'strsrc = \'@fixture(scope="module")' E and: u'def arg1():' E and: u' yield 1' E and: u' yield 2' E and: u"'" E and: u'' E and: u' def getsource(obj, **kwargs):' E and: u' from .code import getrawcode' E and: u' ' E and: u' obj = getrawcode(obj)' E and: u' try:' E and: u' strsrc = inspect.getsource(obj)' E and: u' except IndentationError:' E and: u' strsrc = \'"Buggy python version consider upgrading, cannot get source"\'' E and: u'> assert isinstance(strsrc, str)' E and: u'E AssertionError' E and: u'' E and: u'../../../../pytest-3.10.1/src/_pytest/_code/source.py:257: AssertionError' E and: u'====================== 1 passed, 1 error in 0.32 seconds =======================' E and: u'' E remains unmatched: '*test_yields*:2*' ../../../../pytest-3.10.1/testing/python/fixture.py:3585: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples') rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_yields_more_than_one1, inifile: plugins: pyfakefs-3.4.3, hypothesis-3.82.1 collected 1 item test_yields_more_than_one.py .E ==================================== ERRORS ==================================== _________________________ ERROR at teardown of test_1 __________________________ self = <CallInfo when='teardown' exception: > func = <function <lambda> at 0xf2c85a3c>, when = 'teardown' treat_keyboard_interrupt_as_exception = False def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ../../../../pytest-3.10.1/src/_pytest/runner.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../pytest-3.10.1/src/_pytest/runner.py:194: in <lambda> lambda: ihook(item=item, **kwds), /usr/share/python2.7/site-packages/pluggy/hooks.py:284: in __call__ ??? /usr/share/python2.7/site-packages/pluggy/manager.py:67: in _hookexec ??? /usr/share/python2.7/site-packages/pluggy/_tracing.py:80: in __call__ ??? /usr/share/python2.7/site-packages/pluggy/_tracing.py:78: in <lambda> ??? /usr/share/python2.7/site-packages/pluggy/manager.py:61: in <lambda> ??? ../../../../pytest-3.10.1/src/_pytest/runner.py:136: in pytest_runtest_teardown item.session._setupstate.teardown_exact(item, nextitem) ../../../../pytest-3.10.1/src/_pytest/runner.py:351: in teardown_exact self._teardown_towards(needed_collectors) ../../../../pytest-3.10.1/src/_pytest/runner.py:366: in _teardown_towards six.reraise(*exc) ../../../../pytest-3.10.1/src/_pytest/runner.py:359: in _teardown_towards self._pop_and_teardown() ../../../../pytest-3.10.1/src/_pytest/runner.py:316: in _pop_and_teardown self._teardown_with_finalization(colitem) ../../../../pytest-3.10.1/src/_pytest/runner.py:334: in _teardown_with_finalization self._callfinalizers(colitem) ../../../../pytest-3.10.1/src/_pytest/runner.py:331: in _callfinalizers six.reraise(*exc) ../../../../pytest-3.10.1/src/_pytest/runner.py:324: in _callfinalizers fin() ../../../../pytest-3.10.1/src/_pytest/fixtures.py:891: in finish six.reraise(*e) ../../../../pytest-3.10.1/src/_pytest/fixtures.py:885: in finish func() ../../../../pytest-3.10.1/src/_pytest/fixtures.py:841: in _teardown_yield_fixture fixturefunc, "yield_fixture function has more than one 'yield'" ../../../../pytest-3.10.1/src/_pytest/fixtures.py:816: in fail_fixturefunc source = _pytest._code.Source(fixturefunc) ../../../../pytest-3.10.1/src/_pytest/_code/source.py:39: in __init__ partlines = getsource(part, deindent=de).lines _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = <code object arg1 at 0xf2b8a698, file "/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_yields_more_than_one1/test_yields_more_than_one.py", line 2> kwargs = {'deindent': True}, getrawcode = <function getrawcode at 0xf70a66bc> strsrc = '@fixture(scope="module") def arg1(): yield 1 yield 2 ' def getsource(obj, **kwargs): from .code import getrawcode obj = getrawcode(obj) try: strsrc = inspect.getsource(obj) except IndentationError: strsrc = '"Buggy python version consider upgrading, cannot get source"' > assert isinstance(strsrc, str) E AssertionError ../../../../pytest-3.10.1/src/_pytest/_code/source.py:257: AssertionError ====================== 1 passed, 1 error in 0.32 seconds ======================= ______________ TestParameterizedSubRequest.test_call_from_fixture ______________ self = <fixture.TestParameterizedSubRequest object at 0xf2a443cc> testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_call_from_fixture0')> > ??? E Failed: nomatch: 'The requested fixture has no parameter defined for test:' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0' E and: u"hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')" E and: u'rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_call_from_fixture0, inifile:' E and: u'plugins: pyfakefs-3.4.3, hypothesis-3.82.1' E and: u'collected 1 item' E and: u'' E and: u'test_call_from_fixture.py E [100%]' E and: u'' E and: u'==================================== ERRORS ====================================' E and: u'__________________________ ERROR at setup of test_foo __________________________' E and: u'' E and: u"request = <SubRequest 'get_named_fixture' for <Function 'test_foo'>>" E and: u'' E and: u' @pytest.fixture' E and: u' def get_named_fixture(request):' E and: u"> return request.getfixturevalue('fix_with_param')" E and: u'' E and: u'test_call_from_fixture.py:9: ' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:517: in getfixturevalue' E and: u' return self._get_active_fixturedef(argname).cached_result[0]' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:540: in _get_active_fixturedef' E and: u' self._compute_fixture_value(fixturedef)' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:587: in _compute_fixture_value' E and: u' frame = inspect.stack()[3]' E and: u'/usr/lib/python2.7/inspect.py:1062: in stack' E and: u' return getouterframes(sys._getframe(1), context)' E and: u'/usr/lib/python2.7/inspect.py:1040: in getouterframes' E and: u' framelist.append((frame,) + getframeinfo(frame, context))' E and: u'/usr/lib/python2.7/inspect.py:1015: in getframeinfo' E and: u' lines, lnum = findsource(frame)' E and: u'/usr/lib/python2.7/inspect.py:533: in findsource' E and: u' lines = linecache.getlines(file, module.__dict__)' E and: u'/usr/lib/python2.7/linecache.py:41: in getlines' E and: u' return updatecache(filename, module_globals)' E and: u'/usr/lib/python2.7/linecache.py:132: in updatecache' E and: u' lines = fp.readlines()' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'' E and: u'self = <encodings.ascii.IncrementalDecoder object at 0xf32b0e6c>' E and: u'input = \'stdir.inline_genitems()\\n request = FixtureRequest(items[0])\\n assert request.fixturenames == "m1 f1".s...est.py\\n \\xe2\\x94\\x94\\xe2\\x94\\x80\\xe2\\x94\\x80 test_2.py\\n """\\n root = testdir.mkdir("roo\'' E and: u'final = False' E and: u'' E and: u' def decode(self, input, final=False):' E and: u'> return codecs.ascii_decode(input, self.errors)[0]' E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)" E and: u'' E and: u'/usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError' E and: u'=========================== 1 error in 0.38 seconds ============================' E and: u'' E remains unmatched: 'The requested fixture has no parameter defined for test:' ../../../../pytest-3.10.1/testing/python/fixture.py:3630: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples') rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_call_from_fixture0, inifile: plugins: pyfakefs-3.4.3, hypothesis-3.82.1 collected 1 item test_call_from_fixture.py E [100%] ==================================== ERRORS ==================================== __________________________ ERROR at setup of test_foo __________________________ request = <SubRequest 'get_named_fixture' for <Function 'test_foo'>> @pytest.fixture def get_named_fixture(request): > return request.getfixturevalue('fix_with_param') test_call_from_fixture.py:9: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../pytest-3.10.1/src/_pytest/fixtures.py:517: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] ../../../../pytest-3.10.1/src/_pytest/fixtures.py:540: in _get_active_fixturedef self._compute_fixture_value(fixturedef) ../../../../pytest-3.10.1/src/_pytest/fixtures.py:587: in _compute_fixture_value frame = inspect.stack()[3] /usr/lib/python2.7/inspect.py:1062: in stack return getouterframes(sys._getframe(1), context) /usr/lib/python2.7/inspect.py:1040: in getouterframes framelist.append((frame,) + getframeinfo(frame, context)) /usr/lib/python2.7/inspect.py:1015: in getframeinfo lines, lnum = findsource(frame) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf32b0e6c> input = 'stdir.inline_genitems()\n request = FixtureRequest(items[0])\n assert request.fixturenames == "m1 f1".s...est.py\n \xe2\x94\x94\xe2\x94\x80\xe2\x94\x80 test_2.py\n """\n root = testdir.mkdir("roo' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError =========================== 1 error in 0.38 seconds ============================ _______________ TestParameterizedSubRequest.test_call_from_test ________________ self = <fixture.TestParameterizedSubRequest object at 0xf2a9c7ec> testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_call_from_test0')> > ??? E Failed: nomatch: 'The requested fixture has no parameter defined for test:' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0' E and: u"hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')" E and: u'rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_call_from_test0, inifile:' E and: u'plugins: pyfakefs-3.4.3, hypothesis-3.82.1' E and: u'collected 1 item' E and: u'' E and: u'test_call_from_test.py F [100%]' E and: u'' E and: u'=================================== FAILURES ===================================' E and: u'___________________________________ test_foo ___________________________________' E and: u'' E and: u"request = <FixtureRequest for <Function 'test_foo'>>" E and: u'' E and: u' def test_foo(request):' E and: u"> request.getfixturevalue('fix_with_param')" E and: u'' E and: u'test_call_from_test.py:8: ' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:517: in getfixturevalue' E and: u' return self._get_active_fixturedef(argname).cached_result[0]' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:540: in _get_active_fixturedef' E and: u' self._compute_fixture_value(fixturedef)' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:587: in _compute_fixture_value' E and: u' frame = inspect.stack()[3]' E and: u'/usr/lib/python2.7/inspect.py:1062: in stack' E and: u' return getouterframes(sys._getframe(1), context)' E and: u'/usr/lib/python2.7/inspect.py:1040: in getouterframes' E and: u' framelist.append((frame,) + getframeinfo(frame, context))' E and: u'/usr/lib/python2.7/inspect.py:1015: in getframeinfo' E and: u' lines, lnum = findsource(frame)' E and: u'/usr/lib/python2.7/inspect.py:533: in findsource' E and: u' lines = linecache.getlines(file, module.__dict__)' E and: u'/usr/lib/python2.7/linecache.py:41: in getlines' E and: u' return updatecache(filename, module_globals)' E and: u'/usr/lib/python2.7/linecache.py:132: in updatecache' E and: u' lines = fp.readlines()' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'' E and: u'self = <encodings.ascii.IncrementalDecoder object at 0xf3205fec>' E and: u'input = \'stdir.inline_genitems()\\n request = FixtureRequest(items[0])\\n assert request.fixturenames == "m1 f1".s...est.py\\n \\xe2\\x94\\x94\\xe2\\x94\\x80\\xe2\\x94\\x80 test_2.py\\n """\\n root = testdir.mkdir("roo\'' E and: u'final = False' E and: u'' E and: u' def decode(self, input, final=False):' E and: u'> return codecs.ascii_decode(input, self.errors)[0]' E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)" E and: u'' E and: u'/usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError' E and: u'=========================== 1 failed in 0.61 seconds ===========================' E and: u'' E remains unmatched: 'The requested fixture has no parameter defined for test:' ../../../../pytest-3.10.1/testing/python/fixture.py:3656: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples') rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_call_from_test0, inifile: plugins: pyfakefs-3.4.3, hypothesis-3.82.1 collected 1 item test_call_from_test.py F [100%] =================================== FAILURES =================================== ___________________________________ test_foo ___________________________________ request = <FixtureRequest for <Function 'test_foo'>> def test_foo(request): > request.getfixturevalue('fix_with_param') test_call_from_test.py:8: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../pytest-3.10.1/src/_pytest/fixtures.py:517: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] ../../../../pytest-3.10.1/src/_pytest/fixtures.py:540: in _get_active_fixturedef self._compute_fixture_value(fixturedef) ../../../../pytest-3.10.1/src/_pytest/fixtures.py:587: in _compute_fixture_value frame = inspect.stack()[3] /usr/lib/python2.7/inspect.py:1062: in stack return getouterframes(sys._getframe(1), context) /usr/lib/python2.7/inspect.py:1040: in getouterframes framelist.append((frame,) + getframeinfo(frame, context)) /usr/lib/python2.7/inspect.py:1015: in getframeinfo lines, lnum = findsource(frame) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf3205fec> input = 'stdir.inline_genitems()\n request = FixtureRequest(items[0])\n assert request.fixturenames == "m1 f1".s...est.py\n \xe2\x94\x94\xe2\x94\x80\xe2\x94\x80 test_2.py\n """\n root = testdir.mkdir("roo' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError =========================== 1 failed in 0.61 seconds =========================== ______________ TestParameterizedSubRequest.test_external_fixture _______________ self = <fixture.TestParameterizedSubRequest object at 0xf296ec2c> testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_external_fixture0')> > ??? E Failed: nomatch: 'The requested fixture has no parameter defined for test:' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0' E and: u"hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')" E and: u'rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_external_fixture0, inifile:' E and: u'plugins: pyfakefs-3.4.3, hypothesis-3.82.1' E and: u'collected 1 item' E and: u'' E and: u'test_external_fixture.py F [100%]' E and: u'' E and: u'=================================== FAILURES ===================================' E and: u'___________________________________ test_foo ___________________________________' E and: u'' E and: u"request = <FixtureRequest for <Function 'test_foo'>>" E and: u'' E and: u' def test_foo(request):' E and: u"> request.getfixturevalue('fix_with_param')" E and: u'' E and: u'test_external_fixture.py:2: ' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:517: in getfixturevalue' E and: u' return self._get_active_fixturedef(argname).cached_result[0]' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:540: in _get_active_fixturedef' E and: u' self._compute_fixture_value(fixturedef)' E and: u'../../../../pytest-3.10.1/src/_pytest/fixtures.py:587: in _compute_fixture_value' E and: u' frame = inspect.stack()[3]' E and: u'/usr/lib/python2.7/inspect.py:1062: in stack' E and: u' return getouterframes(sys._getframe(1), context)' E and: u'/usr/lib/python2.7/inspect.py:1040: in getouterframes' E and: u' framelist.append((frame,) + getframeinfo(frame, context))' E and: u'/usr/lib/python2.7/inspect.py:1015: in getframeinfo' E and: u' lines, lnum = findsource(frame)' E and: u'/usr/lib/python2.7/inspect.py:533: in findsource' E and: u' lines = linecache.getlines(file, module.__dict__)' E and: u'/usr/lib/python2.7/linecache.py:41: in getlines' E and: u' return updatecache(filename, module_globals)' E and: u'/usr/lib/python2.7/linecache.py:132: in updatecache' E and: u' lines = fp.readlines()' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'' E and: u'self = <encodings.ascii.IncrementalDecoder object at 0xf286744c>' E and: u'input = \'stdir.inline_genitems()\\n request = FixtureRequest(items[0])\\n assert request.fixturenames == "m1 f1".s...est.py\\n \\xe2\\x94\\x94\\xe2\\x94\\x80\\xe2\\x94\\x80 test_2.py\\n """\\n root = testdir.mkdir("roo\'' E and: u'final = False' E and: u'' E and: u' def decode(self, input, final=False):' E and: u'> return codecs.ascii_decode(input, self.errors)[0]' E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)" E and: u'' E and: u'/usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError' E and: u'=========================== 1 failed in 0.37 seconds ===========================' E and: u'' E remains unmatched: 'The requested fixture has no parameter defined for test:' ../../../../pytest-3.10.1/testing/python/fixture.py:3687: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples') rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_external_fixture0, inifile: plugins: pyfakefs-3.4.3, hypothesis-3.82.1 collected 1 item test_external_fixture.py F [100%] =================================== FAILURES =================================== ___________________________________ test_foo ___________________________________ request = <FixtureRequest for <Function 'test_foo'>> def test_foo(request): > request.getfixturevalue('fix_with_param') test_external_fixture.py:2: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../pytest-3.10.1/src/_pytest/fixtures.py:517: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] ../../../../pytest-3.10.1/src/_pytest/fixtures.py:540: in _get_active_fixturedef self._compute_fixture_value(fixturedef) ../../../../pytest-3.10.1/src/_pytest/fixtures.py:587: in _compute_fixture_value frame = inspect.stack()[3] /usr/lib/python2.7/inspect.py:1062: in stack return getouterframes(sys._getframe(1), context) /usr/lib/python2.7/inspect.py:1040: in getouterframes framelist.append((frame,) + getframeinfo(frame, context)) /usr/lib/python2.7/inspect.py:1015: in getframeinfo lines, lnum = findsource(frame) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf286744c> input = 'stdir.inline_genitems()\n request = FixtureRequest(items[0])\n assert request.fixturenames == "m1 f1".s...est.py\n \xe2\x94\x94\xe2\x94\x80\xe2\x94\x80 test_2.py\n """\n root = testdir.mkdir("roo' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError =========================== 1 failed in 0.37 seconds =========================== ______________ TestParameterizedSubRequest.test_non_relative_path ______________ self = <fixture.TestParameterizedSubRequest object at 0xf2bcfb2c> testdir = <Testdir local('/tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_non_relative_path0')> > ??? E Failed: nomatch: 'The requested fixture has no parameter defined for test:' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0' E and: u"hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples')" E and: u'rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_non_relative_path0/tests, inifile:' E and: u'plugins: pyfakefs-3.4.3, hypothesis-3.82.1' E and: u'collected 1 item' E and: u'' E and: u'test_foos.py F [100%]' E and: u'' E and: u'=================================== FAILURES ===================================' E and: u'___________________________________ test_foo ___________________________________' E and: u'' E and: u"request = <FixtureRequest for <Function 'test_foo'>>" E and: u'' E and: u' def test_foo(request):' E and: u"> request.getfixturevalue('fix_with_param')" E and: u'' E and: u'test_foos.py:4: ' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'../../../../../pytest-3.10.1/src/_pytest/fixtures.py:517: in getfixturevalue' E and: u' return self._get_active_fixturedef(argname).cached_result[0]' E and: u'../../../../../pytest-3.10.1/src/_pytest/fixtures.py:540: in _get_active_fixturedef' E and: u' self._compute_fixture_value(fixturedef)' E and: u'../../../../../pytest-3.10.1/src/_pytest/fixtures.py:587: in _compute_fixture_value' E and: u' frame = inspect.stack()[3]' E and: u'/usr/lib/python2.7/inspect.py:1062: in stack' E and: u' return getouterframes(sys._getframe(1), context)' E and: u'/usr/lib/python2.7/inspect.py:1040: in getouterframes' E and: u' framelist.append((frame,) + getframeinfo(frame, context))' E and: u'/usr/lib/python2.7/inspect.py:1015: in getframeinfo' E and: u' lines, lnum = findsource(frame)' E and: u'/usr/lib/python2.7/inspect.py:533: in findsource' E and: u' lines = linecache.getlines(file, module.__dict__)' E and: u'/usr/lib/python2.7/linecache.py:41: in getlines' E and: u' return updatecache(filename, module_globals)' E and: u'/usr/lib/python2.7/linecache.py:132: in updatecache' E and: u' lines = fp.readlines()' E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: u'' E and: u'self = <encodings.ascii.IncrementalDecoder object at 0xf46e0ecc>' E and: u'input = \'stdir.inline_genitems()\\n request = FixtureRequest(items[0])\\n assert request.fixturenames == "m1 f1".s...est.py\\n \\xe2\\x94\\x94\\xe2\\x94\\x80\\xe2\\x94\\x80 test_2.py\\n """\\n root = testdir.mkdir("roo\'' E and: u'final = False' E and: u'' E and: u' def decode(self, input, final=False):' E and: u'> return codecs.ascii_decode(input, self.errors)[0]' E and: u"E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128)" E and: u'' E and: u'/usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError' E and: u'=========================== 1 failed in 0.38 seconds ===========================' E and: u'' E remains unmatched: 'The requested fixture has no parameter defined for test:' ../../../../../pytest-3.10.1/testing/python/fixture.py:3731: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/B.YzbR5F/BUILD/pytest-3.10.1/.hypothesis/examples') rootdir: /tmp/B.YzbR5F/BUILD/tmp/pytest-of-builder/pytest-0/test_non_relative_path0/tests, inifile: plugins: pyfakefs-3.4.3, hypothesis-3.82.1 collected 1 item test_foos.py F [100%] =================================== FAILURES =================================== ___________________________________ test_foo ___________________________________ request = <FixtureRequest for <Function 'test_foo'>> def test_foo(request): > request.getfixturevalue('fix_with_param') test_foos.py:4: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../../pytest-3.10.1/src/_pytest/fixtures.py:517: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] ../../../../../pytest-3.10.1/src/_pytest/fixtures.py:540: in _get_active_fixturedef self._compute_fixture_value(fixturedef) ../../../../../pytest-3.10.1/src/_pytest/fixtures.py:587: in _compute_fixture_value frame = inspect.stack()[3] /usr/lib/python2.7/inspect.py:1062: in stack return getouterframes(sys._getframe(1), context) /usr/lib/python2.7/inspect.py:1040: in getouterframes framelist.append((frame,) + getframeinfo(frame, context)) /usr/lib/python2.7/inspect.py:1015: in getframeinfo lines, lnum = findsource(frame) /usr/lib/python2.7/inspect.py:533: in findsource lines = linecache.getlines(file, module.__dict__) /usr/lib/python2.7/linecache.py:41: in getlines return updatecache(filename, module_globals) /usr/lib/python2.7/linecache.py:132: in updatecache lines = fp.readlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <encodings.ascii.IncrementalDecoder object at 0xf46e0ecc> input = 'stdir.inline_genitems()\n request = FixtureRequest(items[0])\n assert request.fixturenames == "m1 f1".s...est.py\n \xe2\x94\x94\xe2\x94\x80\xe2\x94\x80 test_2.py\n """\n root = testdir.mkdir("roo' final = False def decode(self, input, final=False): > return codecs.ascii_decode(input, self.errors)[0] E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3718: ordinal not in range(128) /usr/lib/python2.7/encodings/ascii.py:26: UnicodeDecodeError =========================== 1 failed in 0.38 seconds =========================== =========================== short test summary info ============================ FAIL testing/test_assertrewrite.py::TestRewriteOnImport::()::test_remember_rewritten_modules FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_name FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_assert_already_has_message FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_boolop FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_short_circuit_evaluation FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_unary_op FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_binary_op FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_boolop_percent FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_call FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_attribute FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_comparisons FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_len FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_custom_reprcompare FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_assert_raising_nonzero_in_comparison FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_formatchar FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_custom_repr FAIL testing/test_assertrewrite.py::TestAssertionRewrite::()::test_custom_repr_non_ascii FAIL testing/test_assertrewrite.py::test_rewrite_infinite_recursion FAIL testing/test_doctest.py::TestDoctests::()::test_contains_unicode FAIL testing/test_doctest.py::TestDoctests::()::test_unicode_doctest_module FAIL testing/test_warnings.py::test_py2_unicode FAIL testing/code/test_code.py::TestTracebackEntry::()::test_getsource FAIL testing/code/test_code.py::test_code_fullsource FAIL testing/code/test_code.py::test_code_source FAIL testing/code/test_code.py::test_frame_getsourcelineno_myself FAIL testing/code/test_excinfo.py::TestTraceback_f_g_h::()::test_traceback_entry_getsource FAIL testing/code/test_source.py::test_source_from_function FAIL testing/code/test_source.py::test_source_from_method FAIL testing/code/test_source.py::test_source_from_inner_function FAIL testing/code/test_source.py::test_getstartingblock_singleline FAIL testing/code/test_source.py::test_getfuncsource_with_multine_string FAIL testing/code/test_source.py::test_source_of_class_at_eof_without_newline FAIL testing/code/test_source.py::test_getsource_fallback FAIL testing/code/test_source.py::test_findsource_fallback FAIL testing/code/test_source.py::test_getfslineno FAIL testing/code/test_source.py::test_code_of_object_instance_with_call FAIL testing/code/test_source.py::test_getstartingblock_multiline FAIL testing/logging/test_fixture.py::test_messages FAIL testing/python/collect.py::TestModule::()::test_show_traceback_import_error_unicode FAIL testing/python/fixture.py::TestContextManagerFixtureFuncs::()::test_yields_more_than_one[fixture] FAIL testing/python/fixture.py::TestContextManagerFixtureFuncs::()::test_yields_more_than_one[yield_fixture] FAIL testing/python/fixture.py::TestParameterizedSubRequest::()::test_call_from_fixture FAIL testing/python/fixture.py::TestParameterizedSubRequest::()::test_call_from_test FAIL testing/python/fixture.py::TestParameterizedSubRequest::()::test_external_fixture FAIL testing/python/fixture.py::TestParameterizedSubRequest::()::test_non_relative_path SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/test_parseopt.py:325: bash provided no output, argcomplete not available? SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/test_junitxml.py:1041: could not import 'xdist' SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/test_terminal.py:1309: could not import 'xdist' SKIP [1] testing/test_assertrewrite.py:401: condition: sys.version_info < (3,5) SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/python/integration.py:168: could not import 'unittest.mock' SKIP [1] testing/test_assertion.py:934: Python 3.4+ shows chained exceptions on multiprocess SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/test_terminal.py:1298: could not import 'xdist' SKIP [1] testing/test_warnings.py:127: warnings message is unicode is ok in python3 SKIP [2] testing/code/test_excinfo.py:1230: condition: sys.version_info[0] < 3 SKIP [1] testing/code/test_excinfo.py:1290: condition: sys.version_info[0] < 3 SKIP [1] testing/test_assertrewrite.py:769: packages without __init__.py not supported on python 2 SKIP [1] testing/test_assertrewrite.py:252: bytes is a string type in python 2 SKIP [2] testing/code/test_excinfo.py:1188: condition: sys.version_info[0] < 3 SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/src/_pytest/pytester.py:1209: could not import 'pexpect' SKIP [1] testing/code/test_excinfo.py:1102: condition: sys.version_info[0] < 3 SKIP [1] testing/test_compat.py:100: async syntax available in Python 3.5+ SKIP [1] testing/test_compat.py:78: asyncio available in Python 3.4+ SKIP [1] testing/test_capture.py:809: python 3 only behaviour SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/test_terminal.py:1404: could not import 'xdist' SKIP [1] testing/test_tmpdir.py:179: win only SKIP [2] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/test_capture.py:925: could not run 'lsof' SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/python/integration.py:130: could not import 'unittest.mock' SKIP [1] testing/test_capture.py:501: only have capsysbinary in python 3 SKIP [11] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/test_runner.py:429: could not import 'xdist.boxed' SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/acceptance_test.py:934: could not import 'zipapp' SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/python/integration.py:146: could not import 'unittest.mock' SKIP [1] testing/test_capture.py:841: python2 has no buffer SKIP [1] testing/test_config.py:198: condition: sys.version_info[0] < 3 SKIP [1] /tmp/B.YzbR5F/BUILD/pytest-3.10.1/testing/test_terminal.py:1293: could not import 'xdist' XFAIL testing/acceptance_test.py::TestInvocationVariants::()::test_noclass_discovery_if_not_testcase decide: feature or bug XFAIL testing/test_capture.py::TestPerTestCapturing::()::test_capture_scope_cache unimplemented feature XFAIL testing/test_collection.py::TestPrunetraceback::()::test_collect_report_postprocessing other mechanism for adding to reporting needed XFAIL testing/test_config.py::TestParseIni::()::test_confcutdir probably not needed XFAIL testing/test_junitxml.py::test_runs_twice_xdist reason: [NOTRUN] hangs XFAIL testing/test_mark.py::TestKeywordSelection::()::test_keyword_extra_dash XFAIL testing/test_pytester.py::test_make_hook_recorder reason: internal reportrecorder tests need refactoring XFAIL testing/test_runner.py::test_runtest_in_module_ordering XFAIL testing/python/fixture.py::TestAutouseDiscovery::()::test_setup_enabled_functionnode 'enabled' feature not implemented XFAIL testing/python/integration.py::TestMockDecoration::()::test_wrapped_getfuncargnames_patching getfuncargnames breaks if mock is imported XFAIL testing/python/metafunc.py::TestMarkersWithParametrization::()::test_nested_marks is this important to support?? 45 failed, 2138 passed, 42 skipped, 71 deselected, 11 xfailed in 309.75 seconds error: Bad exit status from /tmp/B.YzbR5F/BUILD/tmp/rpm-tmp.39102 (%build) RPM build errors: Bad exit status from /tmp/B.YzbR5F/BUILD/tmp/rpm-tmp.39102 (%build) ended at: Wed Nov 28 21:14:39 2018, done in 0:05:13.203924 error: No files produced. + chmod -R u+rwX /tmp/B.YzbR5F/BUILD + rm -rf /tmp/B.YzbR5F/tmp /tmp/B.YzbR5F/BUILD + rm -rf /tmp/B.YzbR5F Begin-PLD-Builder-Info Build-Time: user:284.70s sys:27.60s real:347.37s (faults io:23 non-io:2382624) End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]