Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-flake8.spec'], chrootPath='/var/lib/mock/1124604-centos-stream-x86_64-1575565953.477584/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62xbc85w:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62xbc85w:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '54f8c46e74bf4e398d3f4c41c73f8f96', '-D', '/var/lib/mock/1124604-centos-stream-x86_64-1575565953.477584/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62xbc85w:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-flake8.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-flake8-3.7.7-6.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-flake8.spec'], chrootPath='/var/lib/mock/1124604-centos-stream-x86_64-1575565953.477584/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62xbc85w:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62xbc85w:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd03d3156322f45edbcf7d97def3ddc9c', '-D', '/var/lib/mock/1124604-centos-stream-x86_64-1575565953.477584/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62xbc85w:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-flake8.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.81XJ0y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flake8-3.7.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/flake8-3.7.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd flake8-3.7.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/entrypoints >= 0.3.0/entrypoints >= 0.3/' setup.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6nqjWV + umask 022 + cd /builddir/build/BUILD + cd flake8-3.7.7 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/flake8 copying src/flake8/__main__.py -> build/lib/flake8 copying src/flake8/defaults.py -> build/lib/flake8 copying src/flake8/processor.py -> build/lib/flake8 copying src/flake8/statistics.py -> build/lib/flake8 copying src/flake8/style_guide.py -> build/lib/flake8 copying src/flake8/utils.py -> build/lib/flake8 copying src/flake8/exceptions.py -> build/lib/flake8 copying src/flake8/__init__.py -> build/lib/flake8 copying src/flake8/checker.py -> build/lib/flake8 creating build/lib/flake8/api copying src/flake8/api/__init__.py -> build/lib/flake8/api copying src/flake8/api/legacy.py -> build/lib/flake8/api creating build/lib/flake8/formatting copying src/flake8/formatting/base.py -> build/lib/flake8/formatting copying src/flake8/formatting/__init__.py -> build/lib/flake8/formatting copying src/flake8/formatting/default.py -> build/lib/flake8/formatting creating build/lib/flake8/main copying src/flake8/main/application.py -> build/lib/flake8/main copying src/flake8/main/cli.py -> build/lib/flake8/main copying src/flake8/main/setuptools_command.py -> build/lib/flake8/main copying src/flake8/main/vcs.py -> build/lib/flake8/main copying src/flake8/main/mercurial.py -> build/lib/flake8/main copying src/flake8/main/__init__.py -> build/lib/flake8/main copying src/flake8/main/git.py -> build/lib/flake8/main copying src/flake8/main/debug.py -> build/lib/flake8/main copying src/flake8/main/options.py -> build/lib/flake8/main creating build/lib/flake8/options copying src/flake8/options/config.py -> build/lib/flake8/options copying src/flake8/options/__init__.py -> build/lib/flake8/options copying src/flake8/options/aggregator.py -> build/lib/flake8/options copying src/flake8/options/manager.py -> build/lib/flake8/options creating build/lib/flake8/plugins copying src/flake8/plugins/pyflakes.py -> build/lib/flake8/plugins copying src/flake8/plugins/__init__.py -> build/lib/flake8/plugins copying src/flake8/plugins/manager.py -> build/lib/flake8/plugins + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.m8CtUn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64 + cd flake8-3.7.7 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8 creating /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/plugins copying build/lib/flake8/plugins/manager.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/plugins copying build/lib/flake8/plugins/__init__.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/plugins copying build/lib/flake8/plugins/pyflakes.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/plugins creating /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/options copying build/lib/flake8/options/manager.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/options copying build/lib/flake8/options/aggregator.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/options copying build/lib/flake8/options/__init__.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/options copying build/lib/flake8/options/config.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/options creating /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main copying build/lib/flake8/main/options.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main copying build/lib/flake8/main/debug.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main copying build/lib/flake8/main/git.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main copying build/lib/flake8/main/__init__.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main copying build/lib/flake8/main/mercurial.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main copying build/lib/flake8/main/vcs.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main copying build/lib/flake8/main/setuptools_command.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main copying build/lib/flake8/main/cli.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main copying build/lib/flake8/main/application.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main creating /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/formatting copying build/lib/flake8/formatting/default.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/formatting copying build/lib/flake8/formatting/__init__.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/formatting copying build/lib/flake8/formatting/base.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/formatting creating /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/api copying build/lib/flake8/api/legacy.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/api copying build/lib/flake8/api/__init__.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/api copying build/lib/flake8/checker.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8 copying build/lib/flake8/__init__.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8 copying build/lib/flake8/exceptions.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8 copying build/lib/flake8/utils.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8 copying build/lib/flake8/style_guide.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8 copying build/lib/flake8/statistics.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8 copying build/lib/flake8/processor.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8 copying build/lib/flake8/defaults.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8 copying build/lib/flake8/__main__.py -> /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8 byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/plugins/manager.py to manager.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/plugins/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/plugins/pyflakes.py to pyflakes.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/options/manager.py to manager.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/options/aggregator.py to aggregator.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/options/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/options/config.py to config.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main/options.py to options.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main/debug.py to debug.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main/git.py to git.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main/mercurial.py to mercurial.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main/vcs.py to vcs.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main/setuptools_command.py to setuptools_command.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main/cli.py to cli.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/main/application.py to application.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/formatting/default.py to default.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/formatting/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/formatting/base.py to base.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/api/legacy.py to legacy.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/api/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/checker.py to checker.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/exceptions.py to exceptions.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/utils.py to utils.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/style_guide.py to style_guide.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/statistics.py to statistics.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/processor.py to processor.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/defaults.py to defaults.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8/__main__.py to __main__.cpython-36.pyc writing byte-compilation script '/tmp/tmp4qtkxjf2.py' /usr/libexec/platform-python /tmp/tmp4qtkxjf2.py removing /tmp/tmp4qtkxjf2.py running install_egg_info running egg_info writing src/flake8.egg-info/PKG-INFO writing dependency_links to src/flake8.egg-info/dependency_links.txt writing entry points to src/flake8.egg-info/entry_points.txt writing requirements to src/flake8.egg-info/requires.txt writing top-level names to src/flake8.egg-info/top_level.txt reading manifest file 'src/flake8.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' writing manifest file 'src/flake8.egg-info/SOURCES.txt' Copying src/flake8.egg-info to /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages/flake8-3.7.7-py3.6.egg-info running install_scripts Installing flake8 script to /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/bin + ln -s flake8 /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/bin/flake8-3 + ln -s flake8 /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/bin/flake8-3.6 + ln -s flake8 /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/bin/python3-flake8 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.7.7-6.el8 --unique-debug-suffix -3.7.7-6.el8.x86_64 --unique-debug-src-base python-flake8-3.7.7-6.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/flake8-3.7.7 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.M4XemU + umask 022 + cd /builddir/build/BUILD + cd flake8-3.7.7 + export PYTHONPATH=/builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/lib/python3.6/site-packages + export PATH=/builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + /usr/libexec/platform-python -m pytest tests -v ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-4.6.6, py-1.5.3, pluggy-0.12.0 -- /usr/libexec/platform-python cachedir: .pytest_cache rootdir: /builddir/build/BUILD/flake8-3.7.7, inifile: pytest.ini collecting ... collecting 306 items collected 447 items tests/integration/test_aggregator.py::test_aggregate_options_with_config PASSED [ 0%] tests/integration/test_aggregator.py::test_aggregate_options_when_isolated PASSED [ 0%] tests/integration/test_api_legacy.py::test_legacy_api PASSED [ 0%] tests/integration/test_checker.py::test_handle_file_plugins[PluginClass] PASSED [ 0%] tests/integration/test_checker.py::test_handle_file_plugins[plugin_func_gen] PASSED [ 1%] tests/integration/test_checker.py::test_handle_file_plugins[plugin_func_list] PASSED [ 1%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_ret-1] PASSED [ 1%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_none-0] PASSED [ 1%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_list_single-1] PASSED [ 2%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_list_multiple-2] PASSED [ 2%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_gen_single-1] PASSED [ 2%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_gen_multiple-3] PASSED [ 2%] tests/integration/test_checker.py::test_report_order[results0-expected_order0] PASSED [ 2%] tests/integration/test_checker.py::test_report_order[results1-expected_order1] PASSED [ 3%] tests/integration/test_checker.py::test_report_order[results2-expected_order2] PASSED [ 3%] tests/integration/test_checker.py::test_report_order[results3-expected_order3] PASSED [ 3%] tests/integration/test_checker.py::test_report_order[results4-expected_order4] PASSED [ 3%] tests/integration/test_checker.py::test_report_order[results5-expected_order5] PASSED [ 4%] tests/integration/test_checker.py::test_report_order[results6-expected_order6] PASSED [ 4%] tests/integration/test_checker.py::test_report_order[results7-expected_order7] PASSED [ 4%] tests/integration/test_checker.py::test_report_order[results8-expected_order8] PASSED [ 4%] tests/integration/test_main.py::test_diff_option PASSED [ 4%] tests/integration/test_main.py::test_statistics_option PASSED [ 5%] tests/integration/test_main.py::test_malformed_per_file_ignores_error PASSED [ 5%] tests/integration/test_plugins.py::test_enable_local_plugin_from_config PASSED [ 5%] tests/integration/test_plugins.py::test_local_plugin_can_add_option PASSED [ 5%] tests/integration/test_plugins.py::test_enable_local_plugin_at_non_installed_path PASSED [ 6%] tests/unit/test_application.py::test_exit_does_not_raise[0-True-True] PASSED [ 6%] tests/unit/test_application.py::test_exit_does_not_raise[2-False-True] PASSED [ 6%] tests/unit/test_application.py::test_exit_does_not_raise[2-True-True] PASSED [ 6%] tests/unit/test_application.py::test_exit_does_raise[0-False-False-False] PASSED [ 6%] tests/unit/test_application.py::test_exit_does_raise[0-True-False-True] PASSED [ 7%] tests/unit/test_application.py::test_exit_does_raise[2-False-False-True] PASSED [ 7%] tests/unit/test_application.py::test_exit_does_raise[2-True-False-True] PASSED [ 7%] tests/unit/test_application.py::test_warns_on_unknown_formatter_plugin_name PASSED [ 7%] tests/unit/test_application.py::test_returns_specified_plugin PASSED [ 8%] tests/unit/test_application.py::test_prelim_opts_args PASSED [ 8%] tests/unit/test_base_formatter.py::test_start[None] PASSED [ 8%] tests/unit/test_base_formatter.py::test_start[out.txt] PASSED [ 8%] tests/unit/test_base_formatter.py::test_stop PASSED [ 8%] tests/unit/test_base_formatter.py::test_format_needs_to_be_implemented PASSED [ 9%] tests/unit/test_base_formatter.py::test_show_source_returns_nothing_when_not_showing_source PASSED [ 9%] tests/unit/test_base_formatter.py::test_show_source_returns_nothing_when_there_is_source PASSED [ 9%] tests/unit/test_base_formatter.py::test_show_source_updates_physical_line_appropriately[x=1\n-2] PASSED [ 9%] tests/unit/test_base_formatter.py::test_show_source_updates_physical_line_appropriately[ x=(1\n +2)\n-5] PASSED [ 10%] tests/unit/test_base_formatter.py::test_write_uses_an_output_file[False] PASSED [ 10%] tests/unit/test_base_formatter.py::test_write_uses_an_output_file[True] PASSED [ 10%] tests/unit/test_base_formatter.py::test_write_uses_print PASSED [ 10%] tests/unit/test_base_formatter.py::test_after_init_is_always_called PASSED [ 10%] tests/unit/test_base_formatter.py::test_handle_formats_the_error PASSED [ 11%] tests/unit/test_checker_manager.py::test_oserrors_cause_serial_fall_back PASSED [ 11%] tests/unit/test_checker_manager.py::test_oserrors_are_reraised PASSED [ 11%] tests/unit/test_checker_manager.py::test_multiprocessing_is_disabled PASSED [ 11%] tests/unit/test_checker_manager.py::test_make_checkers PASSED [ 12%] tests/unit/test_config_file_finder.py::test_uses_default_args PASSED [ 12%] tests/unit/test_config_file_finder.py::test_windows_detection[win32-True] PASSED [ 12%] tests/unit/test_config_file_finder.py::test_windows_detection[linux-False] PASSED [ 12%] tests/unit/test_config_file_finder.py::test_windows_detection[darwin-False] PASSED [ 12%] tests/unit/test_config_file_finder.py::test_cli_config PASSED [ 13%] tests/unit/test_config_file_finder.py::test_cli_config_double_read PASSED [ 13%] tests/unit/test_config_file_finder.py::test_generate_possible_local_files[args0-expected0] PASSED [ 13%] tests/unit/test_config_file_finder.py::test_generate_possible_local_files[args1-expected1] PASSED [ 13%] tests/unit/test_config_file_finder.py::test_generate_possible_local_files[args2-expected2] PASSED [ 14%] tests/unit/test_config_file_finder.py::test_local_config_files[args0-extra_config_files0-expected0] PASSED [ 14%] tests/unit/test_config_file_finder.py::test_local_config_files[args1-extra_config_files1-expected1] PASSED [ 14%] tests/unit/test_config_file_finder.py::test_local_config_files[args2-extra_config_files2-expected2] PASSED [ 14%] tests/unit/test_config_file_finder.py::test_local_config_files[args3-extra_config_files3-expected3] PASSED [ 14%] tests/unit/test_config_file_finder.py::test_local_config_files[args4-extra_config_files4-expected4] PASSED [ 15%] tests/unit/test_config_file_finder.py::test_local_configs PASSED [ 15%] tests/unit/test_config_file_finder.py::test_local_configs_double_read PASSED [ 15%] tests/unit/test_config_file_finder.py::test_read_config_catches_broken_config_files[files0] PASSED [ 15%] tests/unit/test_config_file_finder.py::test_read_config_catches_broken_config_files[files1] PASSED [ 16%] tests/unit/test_config_file_finder.py::test_read_config_catches_decoding_errors PASSED [ 16%] tests/unit/test_debug.py::test_dependencies PASSED [ 16%] tests/unit/test_debug.py::test_plugins_from[plugins0-expected0] PASSED [ 16%] tests/unit/test_debug.py::test_plugins_from[plugins1-expected1] PASSED [ 17%] tests/unit/test_debug.py::test_plugins_from[plugins2-expected2] PASSED [ 17%] tests/unit/test_debug.py::test_plugins_from[plugins3-expected3] PASSED [ 17%] tests/unit/test_debug.py::test_information PASSED [ 17%] tests/unit/test_debug.py::test_print_information_no_plugins PASSED [ 17%] tests/unit/test_debug.py::test_print_information PASSED [ 18%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list0-extend_ignore0-E111] PASSED [ 18%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list1-extend_ignore1-E121] PASSED [ 18%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list2-extend_ignore2-E121] PASSED [ 18%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list3-extend_ignore3-E121] PASSED [ 19%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list4-extend_ignore4-E121] PASSED [ 19%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list5-extend_ignore5-E211] PASSED [ 19%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list6-extend_ignore6-E211] PASSED [ 19%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list0-extend_ignore0-E112] PASSED [ 19%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list1-extend_ignore1-E122] PASSED [ 20%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list2-extend_ignore2-W121] PASSED [ 20%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list3-extend_ignore3-E112] PASSED [ 20%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list4-extend_ignore4-E111] PASSED [ 20%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list5-extend_ignore5-E111] PASSED [ 21%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list0-enable_extensions0-E111] PASSED [ 21%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list1-enable_extensions1-E121] PASSED [ 21%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list2-enable_extensions2-E121] PASSED [ 21%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list3-enable_extensions3-E121] PASSED [ 21%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list4-enable_extensions4-E211] PASSED [ 22%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list5-enable_extensions5-E211] PASSED [ 22%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list6-enable_extensions6-E211] PASSED [ 22%] tests/unit/test_decision_engine.py::test_was_selected_implicitly_selects_errors PASSED [ 22%] tests/unit/test_decision_engine.py::test_was_selected_excludes_errors[select_list0-E112] PASSED [ 23%] tests/unit/test_decision_engine.py::test_was_selected_excludes_errors[select_list1-E122] PASSED [ 23%] tests/unit/test_decision_engine.py::test_was_selected_excludes_errors[select_list2-E132] PASSED [ 23%] tests/unit/test_decision_engine.py::test_was_selected_excludes_errors[select_list3-E321] PASSED [ 23%] tests/unit/test_decision_engine.py::test_was_selected_excludes_errors[select_list4-E410] PASSED [ 23%] tests/unit/test_decision_engine.py::test_decision_for[select_list0-ignore_list0-extend_ignore0-E111-Decision.Selected] PASSED [ 24%] tests/unit/test_decision_engine.py::test_decision_for[select_list1-ignore_list1-extend_ignore1-E112-Decision.Ignored] PASSED [ 24%] tests/unit/test_decision_engine.py::test_decision_for[select_list2-ignore_list2-extend_ignore2-E121-Decision.Selected] PASSED [ 24%] tests/unit/test_decision_engine.py::test_decision_for[select_list3-ignore_list3-extend_ignore3-E122-Decision.Ignored] PASSED [ 24%] tests/unit/test_decision_engine.py::test_decision_for[select_list4-ignore_list4-extend_ignore4-E132-Decision.Ignored] PASSED [ 25%] tests/unit/test_decision_engine.py::test_decision_for[select_list5-ignore_list5-extend_ignore5-E321-Decision.Ignored] PASSED [ 25%] tests/unit/test_decision_engine.py::test_decision_for[select_list6-ignore_list6-extend_ignore6-E410-Decision.Ignored] PASSED [ 25%] tests/unit/test_decision_engine.py::test_decision_for[select_list7-ignore_list7-extend_ignore7-E112-Decision.Selected] PASSED [ 25%] tests/unit/test_decision_engine.py::test_decision_for[select_list8-ignore_list8-extend_ignore8-E112-Decision.Selected] PASSED [ 25%] tests/unit/test_decision_engine.py::test_decision_for[select_list9-ignore_list9-extend_ignore9-E122-Decision.Ignored] PASSED [ 26%] tests/unit/test_decision_engine.py::test_decision_for[select_list10-ignore_list10-extend_ignore10-E132-Decision.Ignored] PASSED [ 26%] tests/unit/test_decision_engine.py::test_decision_for[select_list11-ignore_list11-extend_ignore11-E321-Decision.Ignored] PASSED [ 26%] tests/unit/test_decision_engine.py::test_decision_for[select_list12-ignore_list12-extend_ignore12-E410-Decision.Ignored] PASSED [ 26%] tests/unit/test_decision_engine.py::test_decision_for[select_list13-ignore_list13-extend_ignore13-E410-Decision.Ignored] PASSED [ 27%] tests/unit/test_decision_engine.py::test_decision_for[select_list14-ignore_list14-extend_ignore14-E410-Decision.Selected] PASSED [ 27%] tests/unit/test_decision_engine.py::test_decision_for[select_list15-ignore_list15-extend_ignore15-E410-Decision.Selected] PASSED [ 27%] tests/unit/test_decision_engine.py::test_decision_for[select_list16-ignore_list16-extend_ignore16-E410-Decision.Ignored] PASSED [ 27%] tests/unit/test_decision_engine.py::test_decision_for[select_list17-ignore_list17-extend_ignore17-E126-Decision.Selected] PASSED [ 27%] tests/unit/test_decision_engine.py::test_decision_for[select_list18-ignore_list18-extend_ignore18-E126-Decision.Ignored] PASSED [ 28%] tests/unit/test_decision_engine.py::test_decision_for[select_list19-ignore_list19-extend_ignore19-W391-Decision.Ignored] PASSED [ 28%] tests/unit/test_decision_engine.py::test_decision_for[select_list20-ignore_list20-extend_ignore20-E131-Decision.Ignored] PASSED [ 28%] tests/unit/test_decision_engine.py::test_decision_for[select_list21-ignore_list21-extend_ignore21-E131-Decision.Ignored] PASSED [ 28%] tests/unit/test_decision_engine.py::test_decision_for[select_list22-ignore_list22-extend_ignore22-E126-Decision.Ignored] PASSED [ 29%] tests/unit/test_decision_engine.py::test_decision_for[select_list23-ignore_list23-extend_ignore23-W391-Decision.Selected] PASSED [ 29%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select0-ignore0-extend_select0-enabled_extensions0-I100-Decision.Selected] PASSED [ 29%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select1-ignore1-extend_select1-enabled_extensions1-I201-Decision.Ignored] PASSED [ 29%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select2-ignore2-extend_select2-enabled_extensions2-I101-Decision.Selected] PASSED [ 29%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select3-ignore3-extend_select3-enabled_extensions3-I201-Decision.Ignored] PASSED [ 30%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select4-ignore4-extend_select4-enabled_extensions4-I101-Decision.Selected] PASSED [ 30%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select5-ignore5-extend_select5-enabled_extensions5-I101-Decision.Ignored] PASSED [ 30%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select6-ignore6-extend_select6-enabled_extensions6-U401-Decision.Selected] PASSED [ 30%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select7-ignore7-extend_select7-enabled_extensions7-U401-Decision.Ignored] PASSED [ 31%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select8-ignore8-extend_select8-enabled_extensions8-U402-Decision.Selected] PASSED [ 31%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select9-ignore9-extend_select9-enabled_extensions9-E131-Decision.Ignored] PASSED [ 31%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select10-ignore10-extend_select10-enabled_extensions10-E126-Decision.Selected] PASSED [ 31%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select11-ignore11-extend_select11-enabled_extensions11-E221-Decision.Selected] PASSED [ 31%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select12-ignore12-extend_select12-enabled_extensions12-E212-Decision.Ignored] PASSED [ 32%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select13-ignore13-extend_select13-enabled_extensions13-C901-Decision.Ignored] PASSED [ 32%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select14-ignore14-extend_select14-enabled_extensions14-E131-Decision.Selected] PASSED [ 32%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select15-ignore15-extend_select15-enabled_extensions15-I101-Decision.Selected] PASSED [ 32%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select16-ignore16-extend_select16-enabled_extensions16-G101-Decision.Selected] PASSED [ 33%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select17-ignore17-extend_select17-enabled_extensions17-G101-Decision.Ignored] PASSED [ 33%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select18-ignore18-extend_select18-enabled_extensions18-I101-Decision.Selected] PASSED [ 33%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select19-ignore19-extend_select19-enabled_extensions19-I101-Decision.Ignored] PASSED [ 33%] tests/unit/test_exceptions.py::TestFailedToLoadPlugin::test_pickleable PASSED [ 34%] tests/unit/test_exceptions.py::TestInvalidSyntax::test_pickleable PASSED [ 34%] tests/unit/test_exceptions.py::TestPluginRequestedUnknownParameters::test_pickleable PASSED [ 34%] tests/unit/test_exceptions.py::TestPluginExecutionFailed::test_pickleable PASSED [ 34%] tests/unit/test_file_checker.py::test_run_ast_checks_handles_SyntaxErrors PASSED [ 34%] tests/unit/test_file_checker.py::test_repr PASSED [ 35%] tests/unit/test_file_checker.py::test_nonexistent_file PASSED [ 35%] tests/unit/test_file_checker.py::test_raises_exception_on_failed_plugin PASSED [ 35%] tests/unit/test_file_processor.py::test_read_lines_splits_lines PASSED [ 35%] tests/unit/test_file_processor.py::test_read_lines_universal_newlines PASSED [ 36%] tests/unit/test_file_processor.py::test_read_lines_incorrect_utf_16 PASSED [ 36%] tests/unit/test_file_processor.py::test_read_lines_unknown_encoding PASSED [ 36%] tests/unit/test_file_processor.py::test_strip_utf_bom[\xef\xbb\xbf"""Module docstring."""\n] PASSED [ 36%] tests/unit/test_file_processor.py::test_strip_utf_bom[\ufeff"""Module docstring."""\n] PASSED [ 36%] tests/unit/test_file_processor.py::test_should_ignore_file[lines0-False] PASSED [ 37%] tests/unit/test_file_processor.py::test_should_ignore_file[lines1-False] PASSED [ 37%] tests/unit/test_file_processor.py::test_should_ignore_file[lines2-False] PASSED [ 37%] tests/unit/test_file_processor.py::test_should_ignore_file[lines3-True] PASSED [ 37%] tests/unit/test_file_processor.py::test_should_ignore_file[lines4-True] PASSED [ 38%] tests/unit/test_file_processor.py::test_should_ignore_file[lines5-True] PASSED [ 38%] tests/unit/test_file_processor.py::test_should_ignore_file[lines6-True] PASSED [ 38%] tests/unit/test_file_processor.py::test_should_ignore_file[lines7-True] PASSED [ 38%] tests/unit/test_file_processor.py::test_should_ignore_file[lines8-True] PASSED [ 38%] tests/unit/test_file_processor.py::test_should_ignore_file[lines9-False] PASSED [ 39%] tests/unit/test_file_processor.py::test_should_ignore_file[lines10-False] PASSED [ 39%] tests/unit/test_file_processor.py::test_read_lines_from_stdin PASSED [ 39%] tests/unit/test_file_processor.py::test_stdin_filename_attribute PASSED [ 39%] tests/unit/test_file_processor.py::test_read_lines_uses_display_name PASSED [ 40%] tests/unit/test_file_processor.py::test_read_lines_ignores_empty_display_name PASSED [ 40%] tests/unit/test_file_processor.py::test_line_for PASSED [ 40%] tests/unit/test_file_processor.py::test_next_line PASSED [ 40%] tests/unit/test_file_processor.py::test_check_physical_error[E101-\t\ta = 1-\t] PASSED [ 40%] tests/unit/test_file_processor.py::test_check_physical_error[E101- a = 1- ] PASSED [ 41%] tests/unit/test_file_processor.py::test_check_physical_error[W101-frobulate()-None] PASSED [ 41%] tests/unit/test_file_processor.py::test_check_physical_error[F821-class FizBuz:-None] PASSED [ 41%] tests/unit/test_file_processor.py::test_keyword_arguments_for[params0-None-expected_kwargs0] PASSED [ 41%] tests/unit/test_file_processor.py::test_keyword_arguments_for[params1-args1-expected_kwargs1] PASSED [ 42%] tests/unit/test_file_processor.py::test_keyword_arguments_for[params2-args2-expected_kwargs2] PASSED [ 42%] tests/unit/test_file_processor.py::test_keyword_arguments_for[params3-args3-expected_kwargs3] PASSED [ 42%] tests/unit/test_file_processor.py::test_keyword_arguments_for[params4-args4-expected_kwargs4] PASSED [ 42%] tests/unit/test_file_processor.py::test_keyword_arguments_for_does_not_handle_attribute_errors PASSED [ 42%] tests/unit/test_file_processor.py::test_split_line[line-expected_lines0] PASSED [ 43%] tests/unit/test_file_processor.py::test_split_line[line 1\n-expected_lines1] PASSED [ 43%] tests/unit/test_file_processor.py::test_split_line[line 1\nline 2\n-expected_lines2] PASSED [ 43%] tests/unit/test_file_processor.py::test_split_line[line 1\n\nline 2\n-expected_lines3] PASSED [ 43%] tests/unit/test_file_processor.py::test_build_ast PASSED [ 44%] tests/unit/test_file_processor.py::test_next_logical_line_updates_the_previous_logical_line PASSED [ 44%] tests/unit/test_file_processor.py::test_visited_new_blank_line PASSED [ 44%] tests/unit/test_file_processor.py::test_inside_multiline PASSED [ 44%] tests/unit/test_file_processor.py::test_mutate_string[""-""] PASSED [ 44%] tests/unit/test_file_processor.py::test_mutate_string[''-''] PASSED [ 45%] tests/unit/test_file_processor.py::test_mutate_string["a"-"x"] PASSED [ 45%] tests/unit/test_file_processor.py::test_mutate_string['a'-'x'] PASSED [ 45%] tests/unit/test_file_processor.py::test_mutate_string["x"-"x"] PASSED [ 45%] tests/unit/test_file_processor.py::test_mutate_string['x'-'x'] PASSED [ 46%] tests/unit/test_file_processor.py::test_mutate_string["abcdef"-"xxxxxx"] PASSED [ 46%] tests/unit/test_file_processor.py::test_mutate_string['abcdef'-'xxxxxx'] PASSED [ 46%] tests/unit/test_file_processor.py::test_mutate_string[""""""-""""""] PASSED [ 46%] tests/unit/test_file_processor.py::test_mutate_string[''''''-''''''] PASSED [ 46%] tests/unit/test_file_processor.py::test_mutate_string["""a"""-"""x"""] PASSED [ 47%] tests/unit/test_file_processor.py::test_mutate_string['''a'''-'''x'''] PASSED [ 47%] tests/unit/test_file_processor.py::test_mutate_string["""x"""-"""x"""] PASSED [ 47%] tests/unit/test_file_processor.py::test_mutate_string['''x'''-'''x'''] PASSED [ 47%] tests/unit/test_file_processor.py::test_mutate_string["""abcdef"""-"""xxxxxx"""] PASSED [ 48%] tests/unit/test_file_processor.py::test_mutate_string['''abcdef'''-'''xxxxxx'''] PASSED [ 48%] tests/unit/test_file_processor.py::test_mutate_string["""xxxxxx"""-"""xxxxxx"""] PASSED [ 48%] tests/unit/test_file_processor.py::test_mutate_string['''xxxxxx'''-'''xxxxxx'''] PASSED [ 48%] tests/unit/test_file_processor.py::test_expand_indent[ -4] PASSED [ 48%] tests/unit/test_file_processor.py::test_expand_indent[ -6] PASSED [ 49%] tests/unit/test_file_processor.py::test_expand_indent[\t-8] PASSED [ 49%] tests/unit/test_file_processor.py::test_expand_indent[\t\t-16] PASSED [ 49%] tests/unit/test_file_processor.py::test_expand_indent[ \t-8] PASSED [ 49%] tests/unit/test_file_processor.py::test_expand_indent[ \t-16] PASSED [ 50%] tests/unit/test_file_processor.py::test_log_token[token0-l.1\t[:19]\tCOMMENT\t'# this is a comment'] PASSED [ 50%] tests/unit/test_file_processor.py::test_log_token[token1-l.1\t[5:19]\tCOMMENT\t'# this is a comment'] PASSED [ 50%] tests/unit/test_file_processor.py::test_log_token[token2-l.1\tl.2\tCOMMENT\t'# this is a comment'] PASSED [ 50%] tests/unit/test_file_processor.py::test_count_parentheses[None-(-1] PASSED [ 51%] tests/unit/test_file_processor.py::test_count_parentheses[None-[-1] PASSED [ 51%] tests/unit/test_file_processor.py::test_count_parentheses[None-{-1] PASSED [ 51%] tests/unit/test_file_processor.py::test_count_parentheses[1-)-0] PASSED [ 51%] tests/unit/test_file_processor.py::test_count_parentheses[1-]-0] PASSED [ 51%] tests/unit/test_file_processor.py::test_count_parentheses[1-}-0] PASSED [ 52%] tests/unit/test_file_processor.py::test_count_parentheses[10-+-10] PASSED [ 52%] tests/unit/test_file_processor.py::test_nonexistent_file PASSED [ 52%] tests/unit/test_filenameonly_formatter.py::test_caches_filenames_already_printed PASSED [ 52%] tests/unit/test_filenameonly_formatter.py::test_only_returns_a_string_once_from_format PASSED [ 53%] tests/unit/test_filenameonly_formatter.py::test_show_source_returns_nothing PASSED [ 53%] tests/unit/test_get_local_plugins.py::test_get_local_plugins_respects_isolated PASSED [ 53%] tests/unit/test_get_local_plugins.py::test_get_local_plugins_uses_cli_config PASSED [ 53%] tests/unit/test_get_local_plugins.py::test_get_local_plugins PASSED [ 53%] tests/unit/test_git.py::test_find_modified_files[True] PASSED [ 54%] tests/unit/test_git.py::test_find_modified_files[False] PASSED [ 54%] tests/unit/test_legacy_api.py::test_get_style_guide PASSED [ 54%] tests/unit/test_legacy_api.py::test_styleguide_options PASSED [ 54%] tests/unit/test_legacy_api.py::test_styleguide_paths PASSED [ 55%] tests/unit/test_legacy_api.py::test_styleguide_check_files PASSED [ 55%] tests/unit/test_legacy_api.py::test_styleguide_excluded PASSED [ 55%] tests/unit/test_legacy_api.py::test_styleguide_excluded_with_parent PASSED [ 55%] tests/unit/test_legacy_api.py::test_styleguide_init_report_does_nothing PASSED [ 55%] tests/unit/test_legacy_api.py::test_styleguide_init_report_with_non_subclass PASSED [ 56%] tests/unit/test_legacy_api.py::test_styleguide_init_report PASSED [ 56%] tests/unit/test_legacy_api.py::test_styleguide_input_file PASSED [ 56%] tests/unit/test_legacy_api.py::test_report_total_errors PASSED [ 56%] tests/unit/test_legacy_api.py::test_report_get_statistics PASSED [ 57%] tests/unit/test_merged_config_parser.py::test_parse_cli_config PASSED [ 57%] tests/unit/test_merged_config_parser.py::test_is_configured_by[tests/fixtures/config_files/cli-specified.ini-True] PASSED [ 57%] tests/unit/test_merged_config_parser.py::test_is_configured_by[tests/fixtures/config_files/no-flake8-section.ini-False] PASSED [ 57%] tests/unit/test_merged_config_parser.py::test_parse_user_config PASSED [ 57%] tests/unit/test_merged_config_parser.py::test_parse_local_config PASSED [ 58%] tests/unit/test_merged_config_parser.py::test_merge_user_and_local_config PASSED [ 58%] tests/unit/test_merged_config_parser.py::test_parse_isolates_config PASSED [ 58%] tests/unit/test_merged_config_parser.py::test_parse_uses_cli_config PASSED [ 58%] tests/unit/test_merged_config_parser.py::test_parsed_configs_are_equivalent[tests/fixtures/config_files/cli-specified.ini] PASSED [ 59%] tests/unit/test_merged_config_parser.py::test_parsed_configs_are_equivalent[tests/fixtures/config_files/cli-specified-with-inline-comments.ini] PASSED [ 59%] tests/unit/test_merged_config_parser.py::test_parsed_configs_are_equivalent[tests/fixtures/config_files/cli-specified-without-inline-comments.ini] PASSED [ 59%] tests/unit/test_merged_config_parser.py::test_parsed_hyphenated_and_underscored_names[tests/fixtures/config_files/config-with-hyphenated-options.ini] PASSED [ 59%] tests/unit/test_nothing_formatter.py::test_format_returns_nothing PASSED [ 59%] tests/unit/test_nothing_formatter.py::test_show_source_returns_nothing PASSED [ 60%] tests/unit/test_option.py::test_to_optparse PASSED [ 60%] tests/unit/test_option.py::test_to_support_optparses_standard_types[float-2-2.0] PASSED [ 60%] tests/unit/test_option.py::test_to_support_optparses_standard_types[complex-2-expected1] PASSED [ 60%] tests/unit/test_option.py::test_to_optparse_creates_an_option_as_we_expect PASSED [ 61%] tests/unit/test_option.py::test_config_name_generation PASSED [ 61%] tests/unit/test_option.py::test_config_name_needs_long_option_name PASSED [ 61%] tests/unit/test_option.py::test_dest_is_not_overridden PASSED [ 61%] tests/unit/test_option_manager.py::test_option_manager_creates_option_parser PASSED [ 61%] tests/unit/test_option_manager.py::test_add_option_short_option_only PASSED [ 62%] tests/unit/test_option_manager.py::test_add_option_long_option_only PASSED [ 62%] tests/unit/test_option_manager.py::test_add_short_and_long_option_names PASSED [ 62%] tests/unit/test_option_manager.py::test_add_option_with_custom_args PASSED [ 62%] tests/unit/test_option_manager.py::test_parse_args_normalize_path PASSED [ 63%] tests/unit/test_option_manager.py::test_parse_args_handles_comma_separated_defaults PASSED [ 63%] tests/unit/test_option_manager.py::test_parse_args_handles_comma_separated_lists PASSED [ 63%] tests/unit/test_option_manager.py::test_parse_args_normalize_paths PASSED [ 63%] tests/unit/test_option_manager.py::test_format_plugin PASSED [ 63%] tests/unit/test_option_manager.py::test_generate_versions PASSED [ 64%] tests/unit/test_option_manager.py::test_plugins_are_sorted_in_generate_versions PASSED [ 64%] tests/unit/test_option_manager.py::test_generate_versions_with_format_string PASSED [ 64%] tests/unit/test_option_manager.py::test_update_version_string PASSED [ 64%] tests/unit/test_option_manager.py::test_generate_epilog PASSED [ 65%] tests/unit/test_option_manager.py::test_extend_default_ignore PASSED [ 65%] tests/unit/test_option_manager.py::test_parse_known_args PASSED [ 65%] tests/unit/test_plugin.py::test_load_plugin_fallsback_on_old_setuptools PASSED [ 65%] tests/unit/test_plugin.py::test_load_plugin_is_idempotent PASSED [ 65%] tests/unit/test_plugin.py::test_load_plugin_catches_and_reraises_exceptions PASSED [ 66%] tests/unit/test_plugin.py::test_load_noncallable_plugin PASSED [ 66%] tests/unit/test_plugin.py::test_plugin_property_loads_plugin_on_first_use PASSED [ 66%] tests/unit/test_plugin.py::test_execute_calls_plugin_with_passed_arguments PASSED [ 66%] tests/unit/test_plugin.py::test_version_proxies_to_the_plugin PASSED [ 67%] tests/unit/test_plugin.py::test_register_options PASSED [ 67%] tests/unit/test_plugin.py::test_register_options_checks_plugin_for_method PASSED [ 67%] tests/unit/test_plugin.py::test_provide_options PASSED [ 67%] tests/unit/test_plugin.py::test_enable[ignore_list0-W-expected_list0] PASSED [ 68%] tests/unit/test_plugin.py::test_enable[ignore_list1-C9-expected_list1] PASSED [ 68%] tests/unit/test_plugin.py::test_enable_without_providing_parsed_options PASSED [ 68%] tests/unit/test_plugin_manager.py::test_calls_entrypoints_on_instantiation PASSED [ 68%] tests/unit/test_plugin_manager.py::test_calls_entrypoints_creates_plugins_automaticaly PASSED [ 68%] tests/unit/test_plugin_manager.py::test_handles_mapping_functions_across_plugins PASSED [ 69%] tests/unit/test_plugin_manager.py::test_local_plugins PASSED [ 69%] tests/unit/test_plugin_type_manager.py::test_instantiates_a_manager PASSED [ 69%] tests/unit/test_plugin_type_manager.py::test_proxies_names_to_manager PASSED [ 69%] tests/unit/test_plugin_type_manager.py::test_proxies_plugins_to_manager PASSED [ 70%] tests/unit/test_plugin_type_manager.py::test_generate_call_function PASSED [ 70%] tests/unit/test_plugin_type_manager.py::test_load_plugins PASSED [ 70%] tests/unit/test_plugin_type_manager.py::test_load_plugins_fails PASSED [ 70%] tests/unit/test_plugin_type_manager.py::test_register_options PASSED [ 70%] tests/unit/test_plugin_type_manager.py::test_provide_options PASSED [ 71%] tests/unit/test_plugin_type_manager.py::test_proxy_contains_to_managers_plugins_dict PASSED [ 71%] tests/unit/test_plugin_type_manager.py::test_proxies_getitem_to_managers_plugins_dict PASSED [ 71%] tests/unit/test_pyflakes_codes.py::test_all_pyflakes_messages_have_flake8_codes_assigned PASSED [ 71%] tests/unit/test_pyflakes_codes.py::test_undefined_local_code PASSED [ 72%] tests/unit/test_setuptools_command.py::test_package_files_removes_submodules PASSED [ 72%] tests/unit/test_statistics.py::test_key_creation PASSED [ 72%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args0-True] PASSED [ 72%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args1-True] PASSED [ 72%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args2-True] PASSED [ 73%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args3-True] PASSED [ 73%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args4-True] PASSED [ 73%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args5-True] PASSED [ 73%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args6-True] PASSED [ 74%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args7-True] PASSED [ 74%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args8-False] PASSED [ 74%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args9-False] PASSED [ 74%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args10-False] PASSED [ 74%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args11-False] PASSED [ 75%] tests/unit/test_statistics.py::test_statistic_creation PASSED [ 75%] tests/unit/test_statistics.py::test_statistic_increment PASSED [ 75%] tests/unit/test_statistics.py::test_recording_statistics PASSED [ 75%] tests/unit/test_statistics.py::test_statistics_for_single_record PASSED [ 76%] tests/unit/test_statistics.py::test_statistics_for_filters_by_filename PASSED [ 76%] tests/unit/test_statistics.py::test_statistic_for_retrieves_more_than_one_value PASSED [ 76%] tests/unit/test_style_guide.py::test_handle_error_does_not_raise_type_errors PASSED [ 76%] tests/unit/test_style_guide.py::test_style_guide_manager PASSED [ 76%] tests/unit/test_style_guide.py::test_style_guide_applies_to[first_file.py-first_file.py-True] PASSED [ 77%] tests/unit/test_style_guide.py::test_style_guide_applies_to[first_file.py-second_file.py-False] PASSED [ 77%] tests/unit/test_style_guide.py::test_style_guide_applies_to[sub_dir/*.py-first_file.py-False] PASSED [ 77%] tests/unit/test_style_guide.py::test_style_guide_applies_to[sub_dir/*.py-sub_dir/file.py-True] PASSED [ 77%] tests/unit/test_style_guide.py::test_style_guide_applies_to[sub_dir/*.py-other_dir/file.py-False] PASSED [ 78%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores_parsing PASSED [ 78%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores0-F401-first_file.py-1] PASSED [ 78%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores1-E121-first_file.py-0] PASSED [ 78%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores2-F401-second_file.py-0] PASSED [ 78%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores3-F401-third_file.py-1] PASSED [ 79%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores4-E311-third_file.py-0] PASSED [ 79%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores5-F401-sub_dir/file.py-0] PASSED [ 79%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[first_file.py-first_file.py] PASSED [ 79%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[second_file.py-second_file.py] PASSED [ 80%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[third_file.py-third_file.py] PASSED [ 80%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[fourth_file.py-None] PASSED [ 80%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[sub_dir/__init__.py-/builddir/build/BUILD/flake8-3.7.7/sub_dir/*] PASSED [ 80%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[other_dir/__init__.py-None] PASSED [ 80%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,\n\tW234,\n E206-expected0] PASSED [ 81%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,W234,E206-expected1] PASSED [ 81%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123 W234 E206-expected2] PASSED [ 81%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123\nW234 E206-expected3] PASSED [ 81%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123\nW234\nE206-expected4] PASSED [ 82%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,W234,E206,-expected5] PASSED [ 82%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,W234,E206, ,\n-expected6] PASSED [ 82%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,W234,,E206,,-expected7] PASSED [ 82%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123, W234,, E206,,-expected8] PASSED [ 82%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,,W234,,E206,,-expected9] PASSED [ 83%] tests/unit/test_utils.py::test_parse_comma_separated_list[value10-expected10] PASSED [ 83%] tests/unit/test_utils.py::test_parse_comma_separated_list[value11-expected11] PASSED [ 83%] tests/unit/test_utils.py::test_parse_comma_separated_list[value12-expected12] PASSED [ 83%] tests/unit/test_utils.py::test_parse_comma_separated_list[value13-expected13] PASSED [ 84%] tests/unit/test_utils.py::test_parse_comma_separated_list[value14-expected14] PASSED [ 84%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[-expected0] PASSED [ 84%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[ -expected1] PASSED [ 84%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[\n\n\n-expected2] PASSED [ 85%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:E123-expected3] PASSED [ 85%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py,g.py:E,F-expected4] PASSED [ 85%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[ f.py , g.py : E , F -expected5] PASSED [ 85%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:E g.py:F-expected6] PASSED [ 85%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py: E\ng.py: F\n-expected7] PASSED [ 86%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py g.py: E F-expected8] PASSED [ 86%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:\n E,F\ng.py:\n G,H-expected9] PASSED [ 86%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[F.py,G.py: F,G-expected10] PASSED [ 86%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[:E-expected11] PASSED [ 87%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:-expected12] PASSED [ 87%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[:E f.py:F-expected13] PASSED [ 87%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py: g.py:F-expected14] PASSED [ 87%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:E:-expected15] PASSED [ 87%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:E.py:-expected16] PASSED [ 88%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:Eg.py:F-expected17] PASSED [ 88%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[value18-expected18] PASSED [ 88%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py: ABC123-expected19] PASSED [ 88%] tests/unit/test_utils.py::test_invalid_file_list[E123] PASSED [ 89%] tests/unit/test_utils.py::test_invalid_file_list[f.py,E123] PASSED [ 89%] tests/unit/test_utils.py::test_invalid_file_list[f.py E123] PASSED [ 89%] tests/unit/test_utils.py::test_invalid_file_list[f.py] PASSED [ 89%] tests/unit/test_utils.py::test_invalid_file_list[f.py:E,g.pyf.py::] PASSED [ 89%] tests/unit/test_utils.py::test_invalid_file_list[f.py:E1F1] PASSED [ 90%] tests/unit/test_utils.py::test_normalize_path[flake8-flake8] PASSED [ 90%] tests/unit/test_utils.py::test_normalize_path[../flake8-/builddir/build/BUILD/flake8] PASSED [ 90%] tests/unit/test_utils.py::test_normalize_path[flake8/-/builddir/build/BUILD/flake8-3.7.7/flake8] PASSED [ 90%] tests/unit/test_utils.py::test_normalize_paths[flake8,pep8,pyflakes,mccabe-expected0] PASSED [ 91%] tests/unit/test_utils.py::test_normalize_paths[flake8,\n\tpep8,\n pyflakes,\n\n mccabe-expected1] PASSED [ 91%] tests/unit/test_utils.py::test_normalize_paths[../flake8,../pep8,../pyflakes,../mccabe-expected2] PASSED [ 91%] tests/unit/test_utils.py::test_is_windows_checks_for_nt PASSED [ 91%] tests/unit/test_utils.py::test_fnmatch[foo.py-patterns0-True] PASSED [ 91%] tests/unit/test_utils.py::test_fnmatch[foo.py-patterns1-False] PASSED [ 92%] tests/unit/test_utils.py::test_fnmatch[foo.pyc-patterns2-True] PASSED [ 92%] tests/unit/test_utils.py::test_fnmatch[foo.pyc-patterns3-True] PASSED [ 92%] tests/unit/test_utils.py::test_fnmatch_returns_the_default_with_empty_default PASSED [ 92%] tests/unit/test_utils.py::test_filenames_from_a_directory PASSED [ 93%] tests/unit/test_utils.py::test_filenames_from_a_directory_with_a_predicate PASSED [ 93%] tests/unit/test_utils.py::test_filenames_from_a_single_file PASSED [ 93%] tests/unit/test_utils.py::test_filenames_from_exclude_doesnt_exclude_directory_names PASSED [ 93%] tests/unit/test_utils.py::test_parameters_for_class_plugin PASSED [ 93%] tests/unit/test_utils.py::test_parameters_for_function_plugin PASSED [ 94%] tests/unit/test_utils.py::test_parse_unified_diff[diff --git a/flake8/utils.py b/flake8/utils.py\nindex f6ce384..7cd12b0 100644\n--- a/flake8/utils.py\n+++ b/flake8/utils.py\n@@ -75,8 +75,8 @@ def stdin_get_value():\n return cached_value.getvalue()\n\n\n-def parse_unified_diff():\n- # type: () -> List[str]\n+def parse_unified_diff(diff=None):\n+ # type: (str) -> List[str]\n """Parse the unified diff passed on stdin.\n\n :returns:\n@@ -84,7 +84,10 @@ def parse_unified_diff():\n :rtype:\n dict\n """\n- diff = stdin_get_value()\n+ # Allow us to not have to patch out stdin_get_value\n+ if diff is None:\n+ diff = stdin_get_value()\n+\n number_of_rows = None\n current_path = None\n parsed_paths = collections.defaultdict(set)\n-parsed_diff0] PASSED [ 94%] tests/unit/test_utils.py::test_parse_unified_diff[diff --git a/flake8/utils.py b/flake8/utils.py\nindex f6ce384..7cd12b0 100644\n--- a/flake8/utils.py\n+++ b/flake8/utils.py\n@@ -75,8 +75,8 @@ def stdin_get_value():\n return cached_value.getvalue()\n \n \n-def parse_unified_diff():\n- # type: () -> List[str]\n+def parse_unified_diff(diff=None):\n+ # type: (str) -> List[str]\n """Parse the unified diff passed on stdin.\n \n :returns:\n@@ -84,7 +84,10 @@ def parse_unified_diff():\n :rtype:\n dict\n """\n- diff = stdin_get_value()\n+ # Allow us to not have to patch out stdin_get_value\n+ if diff is None:\n+ diff = stdin_get_value()\n+\n number_of_rows = None\n current_path = None\n parsed_paths = collections.defaultdict(set)\ndiff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py\nindex d69d939..21482ce 100644\n--- a/tests/unit/test_utils.py\n+++ b/tests/unit/test_utils.py\n@@ -115,3 +115,13 @@ def test_parameters_for_function_plugin():\n plugin = plugin_manager.Plugin('plugin-name', object())\n plugin._plugin = fake_plugin\n assert utils.parameters_for(plugin) == ['physical_line', 'self', 'tree']\n+\n+\n+def read_diff_file(filename):\n+ """Read the diff file in its entirety."""\n+ with open(filename, 'r') as fd:\n+ content = fd.read()\n+ return content\n+\n+\n+SINGLE_FILE_DIFF = read_diff_file('tests/fixtures/diffs/single_file_diff')\n-parsed_diff1] PASSED [ 94%] tests/unit/test_utils.py::test_parse_unified_diff[diff --git a/flake8/utils.py b/flake8/utils.py\nindex f6ce384..7cd12b0 100644\n--- a/flake8/utils.py\n+++ b/flake8/utils.py\n@@ -75,8 +75,8 @@ def stdin_get_value():\n return cached_value.getvalue()\n \n \n-def parse_unified_diff():\n- # type: () -> List[str]\n+def parse_unified_diff(diff=None):\n+ # type: (str) -> List[str]\n """Parse the unified diff passed on stdin.\n \n :returns:\n@@ -84,7 +84,10 @@ def parse_unified_diff():\n :rtype:\n dict\n """\n- diff = stdin_get_value()\n+ # Allow us to not have to patch out stdin_get_value\n+ if diff is None:\n+ diff = stdin_get_value()\n+\n number_of_rows = None\n current_path = None\n parsed_paths = collections.defaultdict(set)\ndiff --git a/tests/fixtures/diffs/single_file_diff b/tests/fixtures/diffs/single_file_diff\nnew file mode 100644\nindex 0000000..77ca534\n--- /dev/null\n+++ b/tests/fixtures/diffs/single_file_diff\n@@ -0,0 +1,27 @@\n+diff --git a/flake8/utils.py b/flake8/utils.py\n+index f6ce384..7cd12b0 100644\n+--- a/flake8/utils.py\n++++ b/flake8/utils.py\n+@@ -75,8 +75,8 @@ def stdin_get_value():\n+ return cached_value.getvalue()\n+\n+\n+-def parse_unified_diff():\n+- # type: () -> List[str]\n++def parse_unified_diff(diff=None):\n++ # type: (str) -> List[str]\n+ """Parse the unified diff passed on stdin.\n+\n+ :returns:\n+@@ -84,7 +84,10 @@ def parse_unified_diff():\n+ :rtype:\n+ dict\n+ """\n+- diff = stdin_get_value()\n++ # Allow us to not have to patch out stdin_get_value\n++ if diff is None:\n++ diff = stdin_get_value()\n++\n+ number_of_rows = None\n+ current_path = None\n+ parsed_paths = collections.defaultdict(set)\ndiff --git a/tests/fixtures/diffs/two_file_diff b/tests/fixtures/diffs/two_file_diff\nnew file mode 100644\nindex 0000000..5bd35cd\n--- /dev/null\n+++ b/tests/fixtures/diffs/two_file_diff\n@@ -0,0 +1,45 @@\n+diff --git a/flake8/utils.py b/flake8/utils.py\n+index f6ce384..7cd12b0 100644\n+--- a/flake8/utils.py\n++++ b/flake8/utils.py\n+@@ -75,8 +75,8 @@ def stdin_get_value():\n+ return cached_value.getvalue()\n+\n+\n+-def parse_unified_diff():\n+- # type: () -> List[str]\n++def parse_unified_diff(diff=None):\n++ # type: (str) -> List[str]\n+ """Parse the unified diff passed on stdin.\n+\n+ :returns:\n+@@ -84,7 +84,10 @@ def parse_unified_diff():\n+ :rtype:\n+ dict\n+ """\n+- diff = stdin_get_value()\n++ # Allow us to not have to patch out stdin_get_value\n++ if diff is None:\n++ diff = stdin_get_value()\n++\n+ number_of_rows = None\n+ current_path = None\n+ parsed_paths = collections.defaultdict(set)\n+diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py\n+index d69d939..21482ce 100644\n+--- a/tests/unit/test_utils.py\n++++ b/tests/unit/test_utils.py\n+@@ -115,3 +115,13 @@ def test_parameters_for_function_plugin():\n+ plugin = plugin_manager.Plugin('plugin-name', object())\n+ plugin._plugin = fake_plugin\n+ assert utils.parameters_for(plugin) == ['physical_line', 'self', 'tree']\n++\n++\n++def read_diff_file(filename):\n++ """Read the diff file in its entirety."""\n++ with open(filename, 'r') as fd:\n++ content = fd.read()\n++ return content\n++\n++\n++SINGLE_FILE_DIFF = read_diff_file('tests/fixtures/diffs/single_file_diff')\ndiff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py\nindex d69d939..1461369 100644\n--- a/tests/unit/test_utils.py\n+++ b/tests/unit/test_utils.py\n@@ -115,3 +115,14 @@ def test_parameters_for_function_plugin():\n plugin = plugin_manager.Plugin('plugin-name', object())\n plugin._plugin = fake_plugin\n assert utils.parameters_for(plugin) == ['physical_line', 'self', 'tree']\n+\n+\n+def read_diff_file(filename):\n+ """Read the diff file in its entirety."""\n+ with open(filename, 'r') as fd:\n+ content = fd.read()\n+ return content\n+\n+\n+SINGLE_FILE_DIFF = read_diff_file('tests/fixtures/diffs/single_file_diff')\n+TWO_FILE_DIFF = read_diff_file('tests/fixtures/diffs/two_file_diff')\n-parsed_diff2] PASSED [ 94%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1-False] PASSED [ 95%] tests/unit/test_violation.py::test_is_inline_ignored[E121-a = 1 # noqa: E111-False] PASSED [ 95%] tests/unit/test_violation.py::test_is_inline_ignored[E121-a = 1 # noqa: E111,W123,F821-False] PASSED [ 95%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa: E111,W123,F821-True] PASSED [ 95%] tests/unit/test_violation.py::test_is_inline_ignored[W123-a = 1 # noqa: E111,W123,F821-True] PASSED [ 95%] tests/unit/test_violation.py::test_is_inline_ignored[W123-a = 1 # noqa: E111, W123,F821-True] PASSED [ 96%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa: E11,W123,F821-True] PASSED [ 96%] tests/unit/test_violation.py::test_is_inline_ignored[E121-a = 1 # noqa:E111,W123,F821-False] PASSED [ 96%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa:E111,W123,F821-True] PASSED [ 96%] tests/unit/test_violation.py::test_is_inline_ignored[W123-a = 1 # noqa:E111,W123,F821-True] PASSED [ 97%] tests/unit/test_violation.py::test_is_inline_ignored[W123-a = 1 # noqa:E111, W123,F821-True] PASSED [ 97%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa:E11,W123,F821-True] PASSED [ 97%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa, analysis:ignore-True] PASSED [ 97%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa analysis:ignore-True] PASSED [ 97%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa - We do not care-True] PASSED [ 98%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa: We do not care-True] PASSED [ 98%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa:We do not care-True] PASSED [ 98%] tests/unit/test_violation.py::test_disable_is_inline_ignored PASSED [ 98%] tests/unit/test_violation.py::test_violation_is_in_diff[file.py-10-diff0-True] PASSED [ 99%] tests/unit/test_violation.py::test_violation_is_in_diff[file.py-1-diff1-True] PASSED [ 99%] tests/unit/test_violation.py::test_violation_is_in_diff[file.py-10-diff2-False] PASSED [ 99%] tests/unit/test_violation.py::test_violation_is_in_diff[file.py-1-diff3-False] PASSED [ 99%] tests/unit/test_violation.py::test_violation_is_in_diff[file.py-10-diff4-False] PASSED [100%] ========================== 447 passed in 2.75 seconds ========================== + exit 0 Processing files: python3-flake8-3.7.7-6.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0b76NC + umask 022 + cd /builddir/build/BUILD + cd flake8-3.7.7 + DOCDIR=/builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/share/doc/python3-flake8 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/share/doc/python3-flake8 + cp -pr README.rst /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/share/doc/python3-flake8 + cp -pr CONTRIBUTORS.txt /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64/usr/share/doc/python3-flake8 + exit 0 Provides: python3-flake8 = 3.7.7-6.el8 python3.6dist(flake8) = 3.7.7 python3dist(flake8) = 3.7.7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/libexec/platform-python python(abi) = 3.6 python3.6dist(entrypoints) >= 0.3 python3.6dist(entrypoints) < 0.4.0 python3.6dist(mccabe) >= 0.6.0 python3.6dist(mccabe) < 0.7.0 python3.6dist(pycodestyle) >= 2.5.0 python3.6dist(pycodestyle) < 2.6.0 python3.6dist(pyflakes) >= 2.1.0 python3.6dist(pyflakes) < 2.2.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64 Wrote: /builddir/build/RPMS/python3-flake8-3.7.7-6.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eR1Uq7 + umask 022 + cd /builddir/build/BUILD + cd flake8-3.7.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-flake8-3.7.7-6.el8.x86_64 + exit 0 Child return code was: 0