Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyflakes.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1586278438.871385/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.perdaf6z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.perdaf6z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fada1c218b014eb6a39289818fcb79a2', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1586278438.871385/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.perdaf6z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyflakes.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/pyflakes-2.1.1-6.fc33.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/pyflakes.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1586278438.871385/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.perdaf6z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.perdaf6z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '815d088aea3d4c628612c62d37527ead', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1586278438.871385/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.perdaf6z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyflakes.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1fsjav + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyflakes-2.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pyflakes-2.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyflakes-2.1.1 + /usr/bin/xz -dc /builddir/build/SOURCES/pyflakes_2.0.0-1.debian.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pyflakes-1.1.0-python3-man.patch):' Patch #0 (pyflakes-1.1.0-python3-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file debian/pyflakes3.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6gUUou + umask 022 + cd /builddir/build/BUILD + cd pyflakes-2.1.1 + 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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/pyflakes copying pyflakes/reporter.py -> build/lib/pyflakes copying pyflakes/messages.py -> build/lib/pyflakes copying pyflakes/checker.py -> build/lib/pyflakes copying pyflakes/api.py -> build/lib/pyflakes copying pyflakes/__main__.py -> build/lib/pyflakes copying pyflakes/__init__.py -> build/lib/pyflakes creating build/lib/pyflakes/scripts copying pyflakes/scripts/pyflakes.py -> build/lib/pyflakes/scripts copying pyflakes/scripts/__init__.py -> build/lib/pyflakes/scripts creating build/lib/pyflakes/test copying pyflakes/test/test_undefined_names.py -> build/lib/pyflakes/test copying pyflakes/test/test_type_annotations.py -> build/lib/pyflakes/test copying pyflakes/test/test_return_with_arguments_inside_generator.py -> build/lib/pyflakes/test copying pyflakes/test/test_other.py -> build/lib/pyflakes/test copying pyflakes/test/test_is_literal.py -> build/lib/pyflakes/test copying pyflakes/test/test_imports.py -> build/lib/pyflakes/test copying pyflakes/test/test_doctests.py -> build/lib/pyflakes/test copying pyflakes/test/test_dict.py -> build/lib/pyflakes/test copying pyflakes/test/test_code_segment.py -> build/lib/pyflakes/test copying pyflakes/test/test_checker.py -> build/lib/pyflakes/test copying pyflakes/test/test_builtin.py -> build/lib/pyflakes/test copying pyflakes/test/test_api.py -> build/lib/pyflakes/test copying pyflakes/test/harness.py -> build/lib/pyflakes/test copying pyflakes/test/__init__.py -> build/lib/pyflakes/test + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.61l88w + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64 + cd pyflakes-2.1.1 + rm -rf /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64 + 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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64 creating /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr creating /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib creating /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes creating /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/__init__.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/harness.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_api.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_builtin.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_checker.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_code_segment.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_dict.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_doctests.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_imports.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_is_literal.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_other.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_return_with_arguments_inside_generator.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_type_annotations.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test copying build/lib/pyflakes/test/test_undefined_names.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test creating /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/scripts copying build/lib/pyflakes/scripts/__init__.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/scripts copying build/lib/pyflakes/scripts/pyflakes.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/scripts copying build/lib/pyflakes/__init__.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes copying build/lib/pyflakes/__main__.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes copying build/lib/pyflakes/api.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes copying build/lib/pyflakes/checker.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes copying build/lib/pyflakes/messages.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes copying build/lib/pyflakes/reporter.py -> /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/harness.py to harness.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_api.py to test_api.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_builtin.py to test_builtin.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_checker.py to test_checker.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_code_segment.py to test_code_segment.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_dict.py to test_dict.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_doctests.py to test_doctests.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_imports.py to test_imports.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_is_literal.py to test_is_literal.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_other.py to test_other.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_return_with_arguments_inside_generator.py to test_return_with_arguments_inside_generator.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_type_annotations.py to test_type_annotations.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/test/test_undefined_names.py to test_undefined_names.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/scripts/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/scripts/pyflakes.py to pyflakes.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/__main__.py to __main__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/api.py to api.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/checker.py to checker.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/messages.py to messages.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes/reporter.py to reporter.cpython-39.pyc writing byte-compilation script '/tmp/tmprefsky__.py' /usr/bin/python3 /tmp/tmprefsky__.py removing /tmp/tmprefsky__.py running install_egg_info running egg_info writing pyflakes.egg-info/PKG-INFO writing dependency_links to pyflakes.egg-info/dependency_links.txt writing entry points to pyflakes.egg-info/entry_points.txt writing top-level names to pyflakes.egg-info/top_level.txt reading manifest file 'pyflakes.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pyflakes.egg-info/SOURCES.txt' Copying pyflakes.egg-info to /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9/site-packages/pyflakes-2.1.1-py3.9.egg-info running install_scripts Installing pyflakes script to /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/bin/__pycache__ + mv /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/bin/pyflakes /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/bin/pyflakes-3.9 + ln -s pyflakes-3.9 /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/bin/pyflakes-3 + ln -s pyflakes-3 /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/bin/pyflakes + install -Dpm 644 debian/pyflakes3.1 /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/man/man1/pyflakes-3.9.1 + ln -s pyflakes-3.9.1 /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/man/man1/pyflakes-3.1 + ln -s pyflakes-3.1 /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/man/man1/pyflakes.1 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.1.1-6.fc33 --unique-debug-suffix -2.1.1-6.fc33.x86_64 --unique-debug-src-base pyflakes-2.1.1-6.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pyflakes-2.1.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ukhkzv + umask 022 + cd /builddir/build/BUILD + cd pyflakes-2.1.1 + /usr/bin/python3 -Wall setup.py test running test running egg_info WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. writing pyflakes.egg-info/PKG-INFO writing dependency_links to pyflakes.egg-info/dependency_links.txt writing entry points to pyflakes.egg-info/entry_points.txt writing top-level names to pyflakes.egg-info/top_level.txt reading manifest file 'pyflakes.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pyflakes.egg-info/SOURCES.txt' running build_ext test_impossibleContext (pyflakes.test.test_undefined_names.NameTests) A Name node with an unrecognized context results in a RuntimeError being ... ok test_annotationUndefined (pyflakes.test.test_undefined_names.Test) Undefined annotations. ... ok test_badNestedClass (pyflakes.test.test_undefined_names.Test) Free variables in nested classes must bind at class creation. ... ok test_builtinWindowsError (pyflakes.test.test_undefined_names.Test) C{WindowsError} is sometimes a builtin name, so no warning is emitted ... ok test_builtins (pyflakes.test.test_undefined_names.Test) ... ok test_definedAsStarArgs (pyflakes.test.test_undefined_names.Test) Star and double-star arg names are defined. ... ok test_definedAsStarUnpack (pyflakes.test.test_undefined_names.Test) Star names in unpack are defined. ... ok test_definedByGlobal (pyflakes.test.test_undefined_names.Test) "global" can make an otherwise undefined name in another function ... ok test_definedByGlobalMultipleNames (pyflakes.test.test_undefined_names.Test) "global" can accept multiple names. ... ok test_definedFromLambdaInDictionaryComprehension (pyflakes.test.test_undefined_names.Test) Defined name referenced from a lambda function within a dict/set ... ok test_definedFromLambdaInGenerator (pyflakes.test.test_undefined_names.Test) Defined name referenced from a lambda function within a generator ... ok test_definedInClass (pyflakes.test.test_undefined_names.Test) Defined name for generator expressions and dict/set comprehension. ... ok test_definedInClassNested (pyflakes.test.test_undefined_names.Test) Defined name for nested generator expressions in a class. ... ok test_definedInGenExp (pyflakes.test.test_undefined_names.Test) Using the loop variable of a generator expression results in no ... ok test_definedInListComp (pyflakes.test.test_undefined_names.Test) ... ok test_del (pyflakes.test.test_undefined_names.Test) Del deletes bindings. ... ok test_delConditional (pyflakes.test.test_undefined_names.Test) Ignores conditional bindings deletion. ... ok test_delConditionalNested (pyflakes.test.test_undefined_names.Test) Ignored conditional bindings deletion even if they are nested in other ... ok test_delExceptionInExcept (pyflakes.test.test_undefined_names.Test) The exception name can be deleted in the except: block. ... ok test_delGlobal (pyflakes.test.test_undefined_names.Test) Del a global binding from a function. ... ok test_delUndefined (pyflakes.test.test_undefined_names.Test) Del an undefined name. ... ok test_delWhile (pyflakes.test.test_undefined_names.Test) Ignore bindings deletion if called inside the body of a while ... ok test_delWhileNested (pyflakes.test.test_undefined_names.Test) Ignore bindings deletions if node is part of while's test, even when ... ok test_delWhileTestUsage (pyflakes.test.test_undefined_names.Test) Ignore bindings deletion if called inside the body of a while ... ok test_doubleNestingReportsClosestName (pyflakes.test.test_undefined_names.Test) Test that referencing a local name in a nested scope that shadows a ... ok test_dunderClass (pyflakes.test.test_undefined_names.Test) `__class__` is defined in class scope under Python 3, but is not ... ok test_functionsNeedGlobalScope (pyflakes.test.test_undefined_names.Test) ... ok test_globalFromNestedScope (pyflakes.test.test_undefined_names.Test) Global names are available from nested scopes. ... ok test_globalImportStar (pyflakes.test.test_undefined_names.Test) Can't find undefined names with import *. ... ok test_globalInGlobalScope (pyflakes.test.test_undefined_names.Test) A global statement in the global scope is ignored. ... ok test_global_reset_name_only (pyflakes.test.test_undefined_names.Test) A global statement does not prevent other names being undefined. ... ok test_intermediateClassScopeIgnored (pyflakes.test.test_undefined_names.Test) If a name defined in an enclosing scope is shadowed by a local variable ... ok test_keywordOnlyArgs (pyflakes.test.test_undefined_names.Test) Keyword-only arg names are defined. ... ok test_keywordOnlyArgsUndefined (pyflakes.test.test_undefined_names.Test) Typo in kwonly name. ... ok test_laterRedefinedGlobalFromNestedScope (pyflakes.test.test_undefined_names.Test) Test that referencing a local name that shadows a global, before it is ... ok test_laterRedefinedGlobalFromNestedScope2 (pyflakes.test.test_undefined_names.Test) Test that referencing a local name in a nested scope that shadows a ... ok test_laterRedefinedGlobalFromNestedScope3 (pyflakes.test.test_undefined_names.Test) Test that referencing a local name in a nested scope that shadows a ... ok test_localImportStar (pyflakes.test.test_undefined_names.Test) A local import * still allows undefined names to be found ... skipped 'obsolete syntax' test_magicGlobalsBuiltins (pyflakes.test.test_undefined_names.Test) Use of the C{__builtins__} magic global should not emit an undefined ... ok test_magicGlobalsFile (pyflakes.test.test_undefined_names.Test) Use of the C{__file__} magic global should not emit an undefined name ... ok test_magicGlobalsName (pyflakes.test.test_undefined_names.Test) Use of the C{__name__} magic global should not emit an undefined name ... ok test_magicGlobalsPath (pyflakes.test.test_undefined_names.Test) Use of the C{__path__} magic global should not emit an undefined name ... ok test_magicModuleInClassScope (pyflakes.test.test_undefined_names.Test) Use of the C{__module__} magic builtin should not emit an undefined ... ok test_metaClassUndefined (pyflakes.test.test_undefined_names.Test) ... ok test_moduleAnnotations (pyflakes.test.test_undefined_names.Test) Use of the C{__annotations__} in module scope should not emit ... ok test_namesDeclaredInExceptBlocks (pyflakes.test.test_undefined_names.Test) Locals declared in except: blocks can be used after the block. ... ok test_nestedClass (pyflakes.test.test_undefined_names.Test) Nested classes can access enclosing scope. ... ok test_undefined (pyflakes.test.test_undefined_names.Test) ... ok test_undefinedAugmentedAssignment (pyflakes.test.test_undefined_names.Test) ... ok test_undefinedExceptionName (pyflakes.test.test_undefined_names.Test) Exception names can't be used after the except: block. ... ok test_undefinedExceptionNameObscuringGlobalVariable (pyflakes.test.test_undefined_names.Test) Exception names obscure globals, can't be used after. ... skipped 'error reporting disabled due to false positives below' test_undefinedExceptionNameObscuringGlobalVariable2 (pyflakes.test.test_undefined_names.Test) Exception names obscure globals, can't be used after. ... skipped 'error reporting disabled due to false positives below' test_undefinedExceptionNameObscuringGlobalVariableFalsePositive1 (pyflakes.test.test_undefined_names.Test) Exception names obscure globals, can't be used after. Unless. ... ok test_undefinedExceptionNameObscuringGlobalVariableFalsePositive2 (pyflakes.test.test_undefined_names.Test) Exception names obscure globals, can't be used after. Unless. ... ok test_undefinedExceptionNameObscuringLocalVariable (pyflakes.test.test_undefined_names.Test) Exception names obscure locals, can't be used after. ... skipped 'error reporting disabled due to false positives below' test_undefinedExceptionNameObscuringLocalVariable2 (pyflakes.test.test_undefined_names.Test) Exception names are unbound after the `except:` block. ... ok test_undefinedExceptionNameObscuringLocalVariableFalsePositive1 (pyflakes.test.test_undefined_names.Test) Exception names obscure locals, can't be used after. Unless. ... ok test_undefinedExceptionNameObscuringLocalVariableFalsePositive2 (pyflakes.test.test_undefined_names.Test) Exception names obscure locals, can't be used after. Unless. ... ok test_undefinedFromLambdaInComprehension (pyflakes.test.test_undefined_names.Test) Undefined name referenced from a lambda function within a generator ... ok test_undefinedFromLambdaInDictionaryComprehension (pyflakes.test.test_undefined_names.Test) Undefined name referenced from a lambda function within a dict/set ... ok test_undefinedInGenExpNested (pyflakes.test.test_undefined_names.Test) The loop variables of generator expressions nested together are ... ok test_undefinedInListComp (pyflakes.test.test_undefined_names.Test) ... ok test_undefinedInLoop (pyflakes.test.test_undefined_names.Test) The loop variable is defined after the expression is computed. ... ok test_undefinedWithErrorHandler (pyflakes.test.test_undefined_names.Test) Some compatibility code checks explicitly for NameError. ... ok test_unpackedParameter (pyflakes.test.test_undefined_names.Test) Unpacked function parameters create bindings. ... skipped 'obsolete syntax' test_unusedAsStarUnpack (pyflakes.test.test_undefined_names.Test) Star names in unpack are unused if RHS is a tuple/list literal. ... ok test_unused_global (pyflakes.test.test_undefined_names.Test) An unused global statement does not define the name. ... skipped 'todo' test_usedAsStarUnpack (pyflakes.test.test_undefined_names.Test) Star names in unpack are used if RHS is not a tuple/list literal. ... ok test_annotated_async_def (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_not_a_typing_overload (pyflakes.test.test_type_annotations.TestTypeAnnotations) regression test for @typing.overload detection bug in 2.1.0 ... ok test_postponed_annotations (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsAdditionalComemnt (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsAssignedToPreviousNode (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsFullSignature (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsFullSignatureWithDocstring (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsInvalidDoesNotMarkAsUsed (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsMarkImportsAsUsed (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsNoWhitespaceAnnotation (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsStarArgs (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsSyntaxError (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsSyntaxErrorCorrectLine (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typingOverload (pyflakes.test.test_type_annotations.TestTypeAnnotations) Allow intentional redefinitions via @typing.overload ... ok test_variable_annotations (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_return (pyflakes.test.test_return_with_arguments_inside_generator.Test) ... skipped 'new in Python 3.3' test_returnNone (pyflakes.test.test_return_with_arguments_inside_generator.Test) ... skipped 'new in Python 3.3' test_returnYieldExpression (pyflakes.test.test_return_with_arguments_inside_generator.Test) ... skipped 'new in Python 3.3' test_attrAugmentedAssignment (pyflakes.test.test_other.Test) Augmented assignment of attributes is supported. ... ok test_breakInsideLoop (pyflakes.test.test_other.Test) ... ok test_breakOutsideLoop (pyflakes.test.test_other.Test) ... ok test_classFunctionDecorator (pyflakes.test.test_other.Test) Test that shadowing a function definition in a class suite with a ... ok test_classNameDefinedPreviously (pyflakes.test.test_other.Test) If a class name is used in the body of that class's definition and ... ok test_classNameUndefinedInClassBody (pyflakes.test.test_other.Test) If a class name is used in the body of that class's definition and ... ok test_classRedefinedAsFunction (pyflakes.test.test_other.Test) If a class is redefined as a function, a warning is emitted. ... ok test_classRedefinition (pyflakes.test.test_other.Test) If a class is defined twice in the same module, a warning is emitted. ... ok test_classWithReturn (pyflakes.test.test_other.Test) If a return is used inside a class, a warning is emitted. ... ok test_classWithYield (pyflakes.test.test_other.Test) If a yield is used inside a class, a warning is emitted. ... ok test_classWithYieldFrom (pyflakes.test.test_other.Test) If a yield from is used inside a class, a warning is emitted. ... ok test_comparison (pyflakes.test.test_other.Test) If a defined name is used on either side of any of the six comparison ... ok test_containment (pyflakes.test.test_other.Test) If a defined name is used on either side of a containment test, no ... ok test_continueInFinally (pyflakes.test.test_other.Test) ... ok test_continueInsideLoop (pyflakes.test.test_other.Test) ... ok test_continueOutsideLoop (pyflakes.test.test_other.Test) ... ok test_defaultExceptLast (pyflakes.test.test_other.Test) A default except block should be last. ... ok test_defaultExceptNotLast (pyflakes.test.test_other.Test) ... ok test_doubleAssignment (pyflakes.test.test_other.Test) If a variable is re-assigned to without being used, no warning is ... skipped 'todo: Too hard to make this warn but other cases stay silent' test_doubleAssignmentConditionally (pyflakes.test.test_other.Test) If a variable is re-assigned within a conditional, no warning is ... ok test_doubleAssignmentWithUse (pyflakes.test.test_other.Test) If a variable is re-assigned to after being used, no warning is ... ok test_duplicateArgs (pyflakes.test.test_other.Test) ... ok test_ellipsis (pyflakes.test.test_other.Test) Ellipsis in a slice is supported. ... ok test_extendedSlice (pyflakes.test.test_other.Test) Extended slices are supported. ... ok test_functionDecorator (pyflakes.test.test_other.Test) Test that shadowing a function definition with a decorated version of ... ok test_functionRedefinedAsClass (pyflakes.test.test_other.Test) If a function is redefined as a class, a warning is emitted. ... ok test_function_arguments (pyflakes.test.test_other.Test) Test to traverse ARG and ARGUMENT handler ... ok test_function_arguments_python3 (pyflakes.test.test_other.Test) ... ok test_globalDeclaredInDifferentScope (pyflakes.test.test_other.Test) A 'global' can be declared in one scope and reused in another. ... ok test_identity (pyflakes.test.test_other.Test) If a defined name is used on either side of an identity test, no ... ok test_localReferencedBeforeAssignment (pyflakes.test.test_other.Test) ... ok test_loopControl (pyflakes.test.test_other.Test) break and continue statements are supported. ... ok test_modernProperty (pyflakes.test.test_other.Test) ... ok test_moduleWithReturn (pyflakes.test.test_other.Test) If a return is used at the module level, a warning is emitted. ... ok test_moduleWithYield (pyflakes.test.test_other.Test) If a yield is used at the module level, a warning is emitted. ... ok test_moduleWithYieldFrom (pyflakes.test.test_other.Test) If a yield from is used at the module level, a warning is emitted. ... ok test_redefinedClassFunction (pyflakes.test.test_other.Test) Test that shadowing a function definition in a class suite with another ... ok test_redefinedElseInListComp (pyflakes.test.test_other.Test) Test that shadowing a variable in a list comprehension in ... skipped 'in Python 3 list comprehensions execute in a separate scope' test_redefinedFunction (pyflakes.test.test_other.Test) Test that shadowing a function definition with another one raises a ... ok test_redefinedIfElseFunction (pyflakes.test.test_other.Test) Test that shadowing a function definition twice in an if ... ok test_redefinedIfElseInListComp (pyflakes.test.test_other.Test) Test that shadowing a variable in a list comprehension in ... ok test_redefinedIfFunction (pyflakes.test.test_other.Test) Test that shadowing a function definition within an if block ... ok test_redefinedInDictComprehension (pyflakes.test.test_other.Test) Test that reusing a variable in a dict comprehension does not raise ... ok test_redefinedInGenerator (pyflakes.test.test_other.Test) Test that reusing a variable in a generator does not raise ... ok test_redefinedInListComp (pyflakes.test.test_other.Test) Test that shadowing a variable in a list comprehension raises ... skipped 'in Python 3 list comprehensions execute in a separate scope' test_redefinedInSetComprehension (pyflakes.test.test_other.Test) Test that reusing a variable in a set comprehension does not raise ... ok test_redefinedTryExceptFunction (pyflakes.test.test_other.Test) Test that shadowing a function definition twice in try ... ok test_redefinedTryFunction (pyflakes.test.test_other.Test) Test that shadowing a function definition within a try block ... ok test_redefinedUnderscoreFunction (pyflakes.test.test_other.Test) Test that shadowing a function definition named with underscore doesn't ... ok test_redefinedUnderscoreImportation (pyflakes.test.test_other.Test) Test that shadowing an underscore importation raises a warning. ... ok test_starredAssignmentErrors (pyflakes.test.test_other.Test) SyntaxErrors (not encoded in the ast) surrounding Python 3 extended ... ok test_starredAssignmentNoError (pyflakes.test.test_other.Test) Python 3 extended iterable unpacking ... ok test_unaryPlus (pyflakes.test.test_other.Test) Don't die on unary +. ... ok test_undefinedBaseClass (pyflakes.test.test_other.Test) If a name in the base list of a class definition is undefined, a ... ok test_varAugmentedAssignment (pyflakes.test.test_other.Test) Augmented assignment of a variable is supported. ... ok test_asyncDef (pyflakes.test.test_other.TestAsyncStatements) ... ok test_asyncDefAwait (pyflakes.test.test_other.TestAsyncStatements) ... ok test_asyncDefUndefined (pyflakes.test.test_other.TestAsyncStatements) ... ok test_asyncFor (pyflakes.test.test_other.TestAsyncStatements) ... ok test_asyncForUnderscoreLoopVar (pyflakes.test.test_other.TestAsyncStatements) ... ok test_asyncWith (pyflakes.test.test_other.TestAsyncStatements) ... ok test_asyncWithItem (pyflakes.test.test_other.TestAsyncStatements) ... ok test_continueInAsyncForFinally (pyflakes.test.test_other.TestAsyncStatements) ... ok test_formatstring (pyflakes.test.test_other.TestAsyncStatements) ... ok test_loopControlInAsyncFor (pyflakes.test.test_other.TestAsyncStatements) ... ok test_loopControlInAsyncForElse (pyflakes.test.test_other.TestAsyncStatements) ... ok test_matmul (pyflakes.test.test_other.TestAsyncStatements) ... ok test_raise_notimplemented (pyflakes.test.test_other.TestAsyncStatements) ... ok test_invalid_print_when_imported_from_future (pyflakes.test.test_other.TestIncompatiblePrintOperator) ... ok test_print_as_condition_test (pyflakes.test.test_other.TestIncompatiblePrintOperator) ... ok test_print_function_assignment (pyflakes.test.test_other.TestIncompatiblePrintOperator) A valid assignment, tested for catching false positives. ... ok test_print_in_lambda (pyflakes.test.test_other.TestIncompatiblePrintOperator) ... ok test_print_returned_in_function (pyflakes.test.test_other.TestIncompatiblePrintOperator) ... ok test_valid_print (pyflakes.test.test_other.TestIncompatiblePrintOperator) ... ok test_assert_static (pyflakes.test.test_other.TestUnusedAssignment) An assert of a static value is not an error. ... ok test_assert_tuple (pyflakes.test.test_other.TestUnusedAssignment) An assert of a non-empty tuple is always True. ... ok test_assert_tuple_empty (pyflakes.test.test_other.TestUnusedAssignment) An assert of an empty tuple is always False. ... ok test_assert_with_message (pyflakes.test.test_other.TestUnusedAssignment) An assert with a message is not an error. ... ok test_assert_without_message (pyflakes.test.test_other.TestUnusedAssignment) An assert without a message is not an error. ... ok test_assignInForLoop (pyflakes.test.test_other.TestUnusedAssignment) Don't warn when a variable in a for loop is assigned to but not used. ... ok test_assignInListComprehension (pyflakes.test.test_other.TestUnusedAssignment) Don't warn when a variable in a list comprehension is ... ok test_assignToGlobal (pyflakes.test.test_other.TestUnusedAssignment) Assigning to a global and then not using that global is perfectly ... ok test_assignToMember (pyflakes.test.test_other.TestUnusedAssignment) Assigning to a member of another object and then not using that member ... ok test_assignToNonlocal (pyflakes.test.test_other.TestUnusedAssignment) Assigning to a nonlocal and then not using that binding is perfectly ... ok test_assignmentInsideLoop (pyflakes.test.test_other.TestUnusedAssignment) Don't warn when a variable assignment occurs lexically after its use. ... ok test_augmentedAssignmentImportedFunctionCall (pyflakes.test.test_other.TestUnusedAssignment) Consider a function that is called on the right part of an ... ok test_closedOver (pyflakes.test.test_other.TestUnusedAssignment) Don't warn when the assignment is used in an inner function. ... ok test_dictComprehension (pyflakes.test.test_other.TestUnusedAssignment) Dict comprehensions are properly handled. ... ok test_doubleClosedOver (pyflakes.test.test_other.TestUnusedAssignment) Don't warn when the assignment is used in an inner function, even if ... ok test_exceptWithoutNameInFunction (pyflakes.test.test_other.TestUnusedAssignment) Don't issue false warning when an unnamed exception is used. ... ok test_exceptWithoutNameInFunctionTuple (pyflakes.test.test_other.TestUnusedAssignment) Don't issue false warning when an unnamed exception is used. ... ok test_exceptionUnusedInExcept (pyflakes.test.test_other.TestUnusedAssignment) ... ok test_exceptionUnusedInExceptInFunction (pyflakes.test.test_other.TestUnusedAssignment) ... ok test_exceptionUsedInExcept (pyflakes.test.test_other.TestUnusedAssignment) ... ok test_f_string (pyflakes.test.test_other.TestUnusedAssignment) Test PEP 498 f-strings are treated as a usage. ... ok test_generatorExpression (pyflakes.test.test_other.TestUnusedAssignment) Don't warn when a variable in a generator expression is ... ok test_ifexp (pyflakes.test.test_other.TestUnusedAssignment) Test C{foo if bar else baz} statements. ... ok test_listUnpacking (pyflakes.test.test_other.TestUnusedAssignment) Don't warn when a variable included in list unpacking is unused. ... ok test_setComprehensionAndLiteral (pyflakes.test.test_other.TestUnusedAssignment) Set comprehensions are properly handled. ... ok test_tracebackhideSpecialVariable (pyflakes.test.test_other.TestUnusedAssignment) Do not warn about unused local variable __tracebackhide__, which is ... ok test_tupleUnpacking (pyflakes.test.test_other.TestUnusedAssignment) Don't warn when a variable included in tuple unpacking is unused. It's ... ok test_unusedReassignedVariable (pyflakes.test.test_other.TestUnusedAssignment) Shadowing a used variable can still raise an UnusedVariable warning. ... skipped "todo: Difficult because it doesn't apply in the context of a loop" test_unusedUnderscoreVariable (pyflakes.test.test_other.TestUnusedAssignment) Don't warn when the magic "_" (underscore) variable is unused. ... ok test_unusedVariable (pyflakes.test.test_other.TestUnusedAssignment) Warn when a variable in a function is assigned a value that's never ... ok test_unusedVariableAsLocals (pyflakes.test.test_other.TestUnusedAssignment) Using locals() it is perfectly valid to have unused variables ... ok test_unusedVariableNoLocals (pyflakes.test.test_other.TestUnusedAssignment) Using locals() in wrong scope should not matter ... ok test_variableUsedInLoop (pyflakes.test.test_other.TestUnusedAssignment) Shadowing a used variable cannot raise an UnusedVariable warning in the ... ok test_withStatementAttributeName (pyflakes.test.test_other.TestUnusedAssignment) No warnings are emitted for using an attribute as the target of a ... ok test_withStatementComplicatedTarget (pyflakes.test.test_other.TestUnusedAssignment) If the target of a C{with} statement uses any or all of the valid forms ... ok test_withStatementListNames (pyflakes.test.test_other.TestUnusedAssignment) No warnings are emitted for using any of the list of names defined by a ... ok test_withStatementNameDefinedInBody (pyflakes.test.test_other.TestUnusedAssignment) A name defined in the body of a C{with} statement can be used after ... ok test_withStatementNoNames (pyflakes.test.test_other.TestUnusedAssignment) No warnings are emitted for using inside or after a nameless C{with} ... ok test_withStatementSingleName (pyflakes.test.test_other.TestUnusedAssignment) No warnings are emitted for using a name defined by a C{with} statement ... ok test_withStatementSingleNameRedefined (pyflakes.test.test_other.TestUnusedAssignment) A redefined name warning is emitted if a name bound by an import is ... ok test_withStatementSingleNameUndefined (pyflakes.test.test_other.TestUnusedAssignment) An undefined name warning is emitted if the name first defined by a ... ok test_withStatementSubscript (pyflakes.test.test_other.TestUnusedAssignment) No warnings are emitted for using a subscript as the target of a ... ok test_withStatementSubscriptUndefined (pyflakes.test.test_other.TestUnusedAssignment) An undefined name warning is emitted if the subscript used as the ... ok test_withStatementTupleNames (pyflakes.test.test_other.TestUnusedAssignment) No warnings are emitted for using any of the tuple of names defined by ... ok test_withStatementTupleNamesRedefined (pyflakes.test.test_other.TestUnusedAssignment) A redefined name warning is emitted if a name bound by an import is ... ok test_withStatementTupleNamesUndefined (pyflakes.test.test_other.TestUnusedAssignment) An undefined name warning is emitted if a name first defined by the ... ok test_withStatementUndefinedInExpression (pyflakes.test.test_other.TestUnusedAssignment) An undefined name warning is emitted if a name in the I{test} ... ok test_withStatementUndefinedInside (pyflakes.test.test_other.TestUnusedAssignment) An undefined name warning is emitted if a name is used inside the ... ok test_yieldFromUndefined (pyflakes.test.test_other.TestUnusedAssignment) Test C{yield from} statement ... ok test_chained_operators_is_str (pyflakes.test.test_is_literal.Test) ... ok test_chained_operators_is_str_end (pyflakes.test.test_is_literal.Test) ... ok test_chained_operators_is_true (pyflakes.test.test_is_literal.Test) ... ok test_chained_operators_is_true_end (pyflakes.test.test_is_literal.Test) ... ok test_is_bytes (pyflakes.test.test_is_literal.Test) ... ok test_is_false (pyflakes.test.test_is_literal.Test) ... ok test_is_int (pyflakes.test.test_is_literal.Test) ... ok test_is_not_bytes (pyflakes.test.test_is_literal.Test) ... ok test_is_not_false (pyflakes.test.test_is_literal.Test) ... ok test_is_not_int (pyflakes.test.test_is_literal.Test) ... ok test_is_not_str (pyflakes.test.test_is_literal.Test) ... ok test_is_not_true (pyflakes.test.test_is_literal.Test) ... ok test_is_not_unicode (pyflakes.test.test_is_literal.Test) ... ok test_is_str (pyflakes.test.test_is_literal.Test) ... ok test_is_true (pyflakes.test.test_is_literal.Test) ... ok test_is_unicode (pyflakes.test.test_is_literal.Test) ... ok test_left_is_bytes (pyflakes.test.test_is_literal.Test) ... ok test_left_is_false (pyflakes.test.test_is_literal.Test) ... ok test_left_is_int (pyflakes.test.test_is_literal.Test) ... ok test_left_is_not_bytes (pyflakes.test.test_is_literal.Test) ... ok test_left_is_not_false (pyflakes.test.test_is_literal.Test) ... ok test_left_is_not_int (pyflakes.test.test_is_literal.Test) ... ok test_left_is_not_str (pyflakes.test.test_is_literal.Test) ... ok test_left_is_not_true (pyflakes.test.test_is_literal.Test) ... ok test_left_is_not_unicode (pyflakes.test.test_is_literal.Test) ... ok test_left_is_str (pyflakes.test.test_is_literal.Test) ... ok test_left_is_true (pyflakes.test.test_is_literal.Test) ... ok test_left_is_unicode (pyflakes.test.test_is_literal.Test) ... ok test_aliasedImport (pyflakes.test.test_imports.Test) ... ok test_aliasedImportShadowModule (pyflakes.test.test_imports.Test) Imported aliases can shadow the source of the import. ... ok test_assignRHSFirst (pyflakes.test.test_imports.Test) ... ok test_assignedToGlobal (pyflakes.test.test_imports.Test) Binding an import to a declared global should not cause it to be ... ok test_differentSubmoduleImport (pyflakes.test.test_imports.Test) If two different submodules of a package are imported, no duplicate ... ok test_duplicateSubmoduleImport (pyflakes.test.test_imports.Test) If a submodule of a package is imported twice, an unused import warning ... ok test_functionNamesAreBoundNow (pyflakes.test.test_imports.Test) ... ok test_functionsRunLater (pyflakes.test.test_imports.Test) ... ok test_futureImport (pyflakes.test.test_imports.Test) __future__ is special. ... ok test_futureImportFirst (pyflakes.test.test_imports.Test) __future__ imports must come before anything else. ... ok test_futureImportStar (pyflakes.test.test_imports.Test) Importing '*' from __future__ fails. ... ok test_futureImportUndefined (pyflakes.test.test_imports.Test) Importing undefined names from __future__ fails. ... ok test_futureImportUsed (pyflakes.test.test_imports.Test) __future__ is special, but names are injected in the namespace. ... ok test_ignoreNonImportRedefinitions (pyflakes.test.test_imports.Test) ... ok test_importInClass (pyflakes.test.test_imports.Test) Test that import within class is a locally scoped attribute. ... ok test_importStar (pyflakes.test.test_imports.Test) Use of import * at module level is reported. ... ok test_importStarNested (pyflakes.test.test_imports.Test) All star imports are marked as used by an undefined variable. ... skipped 'import * below module level is an error on Python 3' test_importStar_relative (pyflakes.test.test_imports.Test) Use of import * from a relative import is reported. ... ok test_importUsedInMethodDefinition (pyflakes.test.test_imports.Test) Method named 'foo' with default args referring to module named 'foo'. ... ok test_importedInClass (pyflakes.test.test_imports.Test) Imports in class scope can be used through self. ... ok test_importingForImportError (pyflakes.test.test_imports.Test) ... skipped 'todo' test_localImportStar (pyflakes.test.test_imports.Test) import * is only allowed at module level. ... ok test_methodsDontUseClassScope (pyflakes.test.test_imports.Test) ... ok test_nestedClassAndFunctionScope (pyflakes.test.test_imports.Test) ... ok test_nestedFunctionsNestScope (pyflakes.test.test_imports.Test) ... ok test_newAssignment (pyflakes.test.test_imports.Test) ... ok test_nonGlobalDoesNotRedefine (pyflakes.test.test_imports.Test) ... ok test_notUsedInNestedScope (pyflakes.test.test_imports.Test) ... ok test_packageImport (pyflakes.test.test_imports.Test) If a dotted name is imported and used, no warning is reported. ... ok test_redefinedButUsedLater (pyflakes.test.test_imports.Test) Test that a global import which is redefined locally, ... ok test_redefinedByClass (pyflakes.test.test_imports.Test) ... ok test_redefinedByExcept (pyflakes.test.test_imports.Test) ... ok test_redefinedByFor (pyflakes.test.test_imports.Test) ... ok test_redefinedByFunction (pyflakes.test.test_imports.Test) ... ok test_redefinedByListComp (pyflakes.test.test_imports.Test) ... skipped 'in Python 3 list comprehensions execute in a separate scope' test_redefinedBySubclass (pyflakes.test.test_imports.Test) If an imported name is redefined by a class statement which also uses ... ok test_redefinedIf (pyflakes.test.test_imports.Test) Test that importing a module twice within an if ... ok test_redefinedIfElse (pyflakes.test.test_imports.Test) Test that importing a module twice in if ... ok test_redefinedInClass (pyflakes.test.test_imports.Test) Test that shadowing a global with a class attribute does not produce a ... ok test_redefinedInNestedFunction (pyflakes.test.test_imports.Test) Test that shadowing a global name with a nested function definition ... ok test_redefinedInNestedFunctionTwice (pyflakes.test.test_imports.Test) Test that shadowing a global name with a nested function definition ... ok test_redefinedTry (pyflakes.test.test_imports.Test) Test that importing a module twice in a try block ... ok test_redefinedTryElse (pyflakes.test.test_imports.Test) ... ok test_redefinedTryExcept (pyflakes.test.test_imports.Test) Test that importing a module twice in a try ... ok test_redefinedTryExceptElse (pyflakes.test.test_imports.Test) ... ok test_redefinedTryExceptElseFinally (pyflakes.test.test_imports.Test) ... ok test_redefinedTryExceptFinally (pyflakes.test.test_imports.Test) ... ok test_redefinedTryExceptMulti (pyflakes.test.test_imports.Test) ... ok test_redefinedTryNested (pyflakes.test.test_imports.Test) Test that importing a module twice using a nested ... ok test_redefinedWhileUnused (pyflakes.test.test_imports.Test) ... ok test_shadowedByFor (pyflakes.test.test_imports.Test) Test that shadowing a global name with a for loop variable generates a ... ok test_shadowedByForDeep (pyflakes.test.test_imports.Test) Test that shadowing a global name with a for loop variable nested in a ... ok test_shadowedByLambda (pyflakes.test.test_imports.Test) ... ok test_shadowedByParameter (pyflakes.test.test_imports.Test) ... ok test_tryingMultipleImports (pyflakes.test.test_imports.Test) ... ok test_unusedImport (pyflakes.test.test_imports.Test) ... ok test_unusedImport_relative (pyflakes.test.test_imports.Test) ... ok test_unusedInNestedScope (pyflakes.test.test_imports.Test) ... ok test_unusedPackageImport (pyflakes.test.test_imports.Test) If a dotted name is imported and not used, an unused import warning is ... ok test_unused_package_with_submodule_import (pyflakes.test.test_imports.Test) When a package and its submodule are imported, only report once. ... ok test_usedAndGlobal (pyflakes.test.test_imports.Test) A 'global' statement shadowing a used import should not cause it to be ... ok test_usedImport (pyflakes.test.test_imports.Test) ... ok test_usedImport_relative (pyflakes.test.test_imports.Test) ... ok test_usedInAssert (pyflakes.test.test_imports.Test) ... ok test_usedInAssignment (pyflakes.test.test_imports.Test) ... ok test_usedInAttributeAssign (pyflakes.test.test_imports.Test) ... ok test_usedInBackquote (pyflakes.test.test_imports.Test) ... skipped 'deprecated syntax' test_usedInCall (pyflakes.test.test_imports.Test) ... ok test_usedInClass (pyflakes.test.test_imports.Test) ... ok test_usedInClassBase (pyflakes.test.test_imports.Test) ... ok test_usedInDict (pyflakes.test.test_imports.Test) ... ok test_usedInElifConditional (pyflakes.test.test_imports.Test) ... ok test_usedInElse (pyflakes.test.test_imports.Test) ... ok test_usedInExcept (pyflakes.test.test_imports.Test) ... ok test_usedInExec (pyflakes.test.test_imports.Test) ... ok test_usedInFor (pyflakes.test.test_imports.Test) ... ok test_usedInForElse (pyflakes.test.test_imports.Test) ... ok test_usedInFunction (pyflakes.test.test_imports.Test) ... ok test_usedInGetattr (pyflakes.test.test_imports.Test) ... ok test_usedInGlobal (pyflakes.test.test_imports.Test) A 'global' statement shadowing an unused import should not prevent it ... ok test_usedInIfBody (pyflakes.test.test_imports.Test) ... ok test_usedInIfConditional (pyflakes.test.test_imports.Test) ... ok test_usedInKeywordArg (pyflakes.test.test_imports.Test) ... ok test_usedInLambda (pyflakes.test.test_imports.Test) ... ok test_usedInList (pyflakes.test.test_imports.Test) ... ok test_usedInListComp (pyflakes.test.test_imports.Test) ... ok test_usedInLogic (pyflakes.test.test_imports.Test) ... ok test_usedInOperators (pyflakes.test.test_imports.Test) ... ok test_usedInParameterDefault (pyflakes.test.test_imports.Test) ... ok test_usedInRaise (pyflakes.test.test_imports.Test) ... ok test_usedInReturn (pyflakes.test.test_imports.Test) ... ok test_usedInSlice (pyflakes.test.test_imports.Test) ... ok test_usedInSliceObj (pyflakes.test.test_imports.Test) ... ok test_usedInSubscript (pyflakes.test.test_imports.Test) ... ok test_usedInTry (pyflakes.test.test_imports.Test) ... ok test_usedInTryFinally (pyflakes.test.test_imports.Test) ... ok test_usedInTuple (pyflakes.test.test_imports.Test) ... ok test_usedInWhile (pyflakes.test.test_imports.Test) ... ok test_usedInYield (pyflakes.test.test_imports.Test) ... ok test_used_package_with_submodule_import (pyflakes.test.test_imports.Test) Usage of package marks submodule imports as used. ... ok test_used_package_with_submodule_import_of_alias (pyflakes.test.test_imports.Test) Usage of package by alias marks submodule imports as used. ... ok test_import_as (pyflakes.test.test_imports.TestImportationObject) ... ok test_import_basic (pyflakes.test.test_imports.TestImportationObject) ... ok test_import_submodule (pyflakes.test.test_imports.TestImportationObject) ... ok test_import_submodule_as (pyflakes.test.test_imports.TestImportationObject) ... ok test_import_submodule_as_source_name (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_future (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_member (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_member_as (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_relative (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_relative_parent (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_relative_with_module (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_relative_with_module_as (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_star (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_star_relative (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_submodule_member (pyflakes.test.test_imports.TestImportationObject) ... ok test_importfrom_submodule_member_as (pyflakes.test.test_imports.TestImportationObject) ... ok test_unusedImport_underscore (pyflakes.test.test_imports.TestImportationObject) The magic underscore var should be reported as unused when used as an ... ok test_all_mixed_attributes_and_strings (pyflakes.test.test_imports.TestSpecialAll) ... ok test_all_with_attributes (pyflakes.test.test_imports.TestSpecialAll) ... ok test_all_with_attributes_added (pyflakes.test.test_imports.TestSpecialAll) ... ok test_all_with_names (pyflakes.test.test_imports.TestSpecialAll) ... ok test_augmentedAssignment (pyflakes.test.test_imports.TestSpecialAll) The C{__all__} variable is defined incrementally. ... ok test_concatenationAssignment (pyflakes.test.test_imports.TestSpecialAll) The C{__all__} variable is defined through list concatenation. ... ok test_ignoredInClass (pyflakes.test.test_imports.TestSpecialAll) An C{__all__} definition in a class does not suppress unused import warnings. ... ok test_ignoredInFunction (pyflakes.test.test_imports.TestSpecialAll) An C{__all__} definition does not suppress unused import warnings in a ... ok test_importStarExported (pyflakes.test.test_imports.TestSpecialAll) Report undefined if import * is used ... ok test_importStarNotExported (pyflakes.test.test_imports.TestSpecialAll) Report unused import when not needed to satisfy __all__. ... ok test_redefinedByGenExp (pyflakes.test.test_imports.TestSpecialAll) Re-using a global name as the loop variable for a generator ... ok test_unboundExported (pyflakes.test.test_imports.TestSpecialAll) If C{__all__} includes a name which is not bound, a warning is emitted. ... ok test_usedAsClassDecorator (pyflakes.test.test_imports.TestSpecialAll) Using an imported name as a class decorator results in no warnings, ... ok test_usedAsDecorator (pyflakes.test.test_imports.TestSpecialAll) Using a global name in a decorator statement results in no warnings, ... ok test_usedInGenExp (pyflakes.test.test_imports.TestSpecialAll) Using a global in a generator expression results in no warnings. ... ok test_warningSuppressed (pyflakes.test.test_imports.TestSpecialAll) If a name is imported and unused but is named in C{__all__}, no warning ... ok test_doctestCanReferToClass (pyflakes.test.test_doctests.Test) ... ok test_doctestCanReferToFunction (pyflakes.test.test_doctests.Test) ... ok test_global_module_scope_pollution (pyflakes.test.test_doctests.Test) Check that global in doctest does not pollute module scope. ... ok test_global_undefined (pyflakes.test.test_doctests.Test) ... ok test_ignore_nested_function (pyflakes.test.test_doctests.Test) Doctest module does not process doctest in nested functions. ... ok test_importBeforeAndInDoctest (pyflakes.test.test_doctests.Test) ... skipped 'todo' test_importBeforeDoctest (pyflakes.test.test_doctests.Test) ... ok test_importInDoctestAndAfter (pyflakes.test.test_doctests.Test) ... ok test_inaccessible_scope_class (pyflakes.test.test_doctests.Test) Doctest may not access class scope. ... ok test_indentationErrorInDoctest (pyflakes.test.test_doctests.Test) ... ok test_nested_class (pyflakes.test.test_doctests.Test) Doctest within nested class are processed. ... ok test_nested_doctest_ignored (pyflakes.test.test_doctests.Test) Check that nested doctests are ignored. ... ok test_noOffsetSyntaxErrorInDoctest (pyflakes.test.test_doctests.Test) ... ok test_offsetAfterDoctests (pyflakes.test.test_doctests.Test) ... ok test_offsetInDoctests (pyflakes.test.test_doctests.Test) ... ok test_offsetInLambdasInDoctests (pyflakes.test.test_doctests.Test) ... ok test_offsetWithMultiLineArgs (pyflakes.test.test_doctests.Test) ... ok test_scope_class (pyflakes.test.test_doctests.Test) Check that a doctest is given a DoctestScope. ... ok test_singleUnderscoreInDoctest (pyflakes.test.test_doctests.Test) ... ok test_syntaxErrorInDoctest (pyflakes.test.test_doctests.Test) ... ok test_aliasedImport (pyflakes.test.test_doctests.TestImports) ... ok test_aliasedImportShadowModule (pyflakes.test.test_doctests.TestImports) Imported aliases can shadow the source of the import. ... ok test_assignRHSFirst (pyflakes.test.test_doctests.TestImports) ... ok test_assignedToGlobal (pyflakes.test.test_doctests.TestImports) Binding an import to a declared global should not cause it to be ... ok test_differentSubmoduleImport (pyflakes.test.test_doctests.TestImports) If two different submodules of a package are imported, no duplicate ... ok test_duplicateSubmoduleImport (pyflakes.test.test_doctests.TestImports) If a submodule of a package is imported twice, an unused import warning ... ok test_functionNamesAreBoundNow (pyflakes.test.test_doctests.TestImports) ... ok test_functionsRunLater (pyflakes.test.test_doctests.TestImports) ... ok test_futureImport (pyflakes.test.test_doctests.TestImports) __future__ is special. ... ok test_futureImportFirst (pyflakes.test.test_doctests.TestImports) __future__ imports must come before anything else. ... ok test_futureImportStar (pyflakes.test.test_doctests.TestImports) Importing '*' from __future__ fails. ... ok test_futureImportUndefined (pyflakes.test.test_doctests.TestImports) Importing undefined names from __future__ fails. ... ok test_futureImportUsed (pyflakes.test.test_doctests.TestImports) __future__ is special, but names are injected in the namespace. ... ok test_ignoreNonImportRedefinitions (pyflakes.test.test_doctests.TestImports) ... ok test_importInClass (pyflakes.test.test_doctests.TestImports) Test that import within class is a locally scoped attribute. ... ok test_importStar (pyflakes.test.test_doctests.TestImports) Use of import * at module level is reported. ... ok test_importStarNested (pyflakes.test.test_doctests.TestImports) All star imports are marked as used by an undefined variable. ... skipped 'import * below module level is an error on Python 3' test_importStar_relative (pyflakes.test.test_doctests.TestImports) Use of import * from a relative import is reported. ... ok test_importUsedInMethodDefinition (pyflakes.test.test_doctests.TestImports) Method named 'foo' with default args referring to module named 'foo'. ... ok test_importedInClass (pyflakes.test.test_doctests.TestImports) Imports in class scope can be used through self. ... ok test_importingForImportError (pyflakes.test.test_doctests.TestImports) ... skipped 'todo' test_localImportStar (pyflakes.test.test_doctests.TestImports) import * is only allowed at module level. ... ok test_methodsDontUseClassScope (pyflakes.test.test_doctests.TestImports) ... ok test_nestedClassAndFunctionScope (pyflakes.test.test_doctests.TestImports) ... ok test_nestedFunctionsNestScope (pyflakes.test.test_doctests.TestImports) ... ok test_newAssignment (pyflakes.test.test_doctests.TestImports) ... ok test_nonGlobalDoesNotRedefine (pyflakes.test.test_doctests.TestImports) ... ok test_notUsedInNestedScope (pyflakes.test.test_doctests.TestImports) ... ok test_packageImport (pyflakes.test.test_doctests.TestImports) If a dotted name is imported and used, no warning is reported. ... ok test_redefinedButUsedLater (pyflakes.test.test_doctests.TestImports) Test that a global import which is redefined locally, ... ok test_redefinedByClass (pyflakes.test.test_doctests.TestImports) ... ok test_redefinedByExcept (pyflakes.test.test_doctests.TestImports) ... ok test_redefinedByFor (pyflakes.test.test_doctests.TestImports) ... ok test_redefinedByFunction (pyflakes.test.test_doctests.TestImports) ... ok test_redefinedByListComp (pyflakes.test.test_doctests.TestImports) ... skipped 'in Python 3 list comprehensions execute in a separate scope' test_redefinedBySubclass (pyflakes.test.test_doctests.TestImports) If an imported name is redefined by a class statement which also uses ... ok test_redefinedIf (pyflakes.test.test_doctests.TestImports) Test that importing a module twice within an if ... ok test_redefinedIfElse (pyflakes.test.test_doctests.TestImports) Test that importing a module twice in if ... ok test_redefinedInClass (pyflakes.test.test_doctests.TestImports) Test that shadowing a global with a class attribute does not produce a ... ok test_redefinedInNestedFunction (pyflakes.test.test_doctests.TestImports) Test that shadowing a global name with a nested function definition ... ok test_redefinedInNestedFunctionTwice (pyflakes.test.test_doctests.TestImports) Test that shadowing a global name with a nested function definition ... ok test_redefinedTry (pyflakes.test.test_doctests.TestImports) Test that importing a module twice in a try block ... ok test_redefinedTryElse (pyflakes.test.test_doctests.TestImports) ... ok test_redefinedTryExcept (pyflakes.test.test_doctests.TestImports) Test that importing a module twice in a try ... ok test_redefinedTryExceptElse (pyflakes.test.test_doctests.TestImports) ... ok test_redefinedTryExceptElseFinally (pyflakes.test.test_doctests.TestImports) ... ok test_redefinedTryExceptFinally (pyflakes.test.test_doctests.TestImports) ... ok test_redefinedTryExceptMulti (pyflakes.test.test_doctests.TestImports) ... ok test_redefinedTryNested (pyflakes.test.test_doctests.TestImports) Test that importing a module twice using a nested ... ok test_redefinedWhileUnused (pyflakes.test.test_doctests.TestImports) ... ok test_shadowedByFor (pyflakes.test.test_doctests.TestImports) Test that shadowing a global name with a for loop variable generates a ... ok test_shadowedByForDeep (pyflakes.test.test_doctests.TestImports) Test that shadowing a global name with a for loop variable nested in a ... ok test_shadowedByLambda (pyflakes.test.test_doctests.TestImports) ... ok test_shadowedByParameter (pyflakes.test.test_doctests.TestImports) ... ok test_tryingMultipleImports (pyflakes.test.test_doctests.TestImports) ... ok test_unusedImport (pyflakes.test.test_doctests.TestImports) ... ok test_unusedImport_relative (pyflakes.test.test_doctests.TestImports) ... ok test_unusedInNestedScope (pyflakes.test.test_doctests.TestImports) ... ok test_unusedPackageImport (pyflakes.test.test_doctests.TestImports) If a dotted name is imported and not used, an unused import warning is ... ok test_unused_package_with_submodule_import (pyflakes.test.test_doctests.TestImports) When a package and its submodule are imported, only report once. ... ok test_usedAndGlobal (pyflakes.test.test_doctests.TestImports) A 'global' statement shadowing a used import should not cause it to be ... ok test_usedImport (pyflakes.test.test_doctests.TestImports) ... ok test_usedImport_relative (pyflakes.test.test_doctests.TestImports) ... ok test_usedInAssert (pyflakes.test.test_doctests.TestImports) ... ok test_usedInAssignment (pyflakes.test.test_doctests.TestImports) ... ok test_usedInAttributeAssign (pyflakes.test.test_doctests.TestImports) ... ok test_usedInBackquote (pyflakes.test.test_doctests.TestImports) ... skipped 'deprecated syntax' test_usedInCall (pyflakes.test.test_doctests.TestImports) ... ok test_usedInClass (pyflakes.test.test_doctests.TestImports) ... ok test_usedInClassBase (pyflakes.test.test_doctests.TestImports) ... ok test_usedInDict (pyflakes.test.test_doctests.TestImports) ... ok test_usedInElifConditional (pyflakes.test.test_doctests.TestImports) ... ok test_usedInElse (pyflakes.test.test_doctests.TestImports) ... ok test_usedInExcept (pyflakes.test.test_doctests.TestImports) ... ok test_usedInExec (pyflakes.test.test_doctests.TestImports) ... ok test_usedInFor (pyflakes.test.test_doctests.TestImports) ... ok test_usedInForElse (pyflakes.test.test_doctests.TestImports) ... ok test_usedInFunction (pyflakes.test.test_doctests.TestImports) ... ok test_usedInGetattr (pyflakes.test.test_doctests.TestImports) ... ok test_usedInGlobal (pyflakes.test.test_doctests.TestImports) A 'global' statement shadowing an unused import should not prevent it ... ok test_usedInIfBody (pyflakes.test.test_doctests.TestImports) ... ok test_usedInIfConditional (pyflakes.test.test_doctests.TestImports) ... ok test_usedInKeywordArg (pyflakes.test.test_doctests.TestImports) ... ok test_usedInLambda (pyflakes.test.test_doctests.TestImports) ... ok test_usedInList (pyflakes.test.test_doctests.TestImports) ... ok test_usedInListComp (pyflakes.test.test_doctests.TestImports) ... ok test_usedInLogic (pyflakes.test.test_doctests.TestImports) ... ok test_usedInOperators (pyflakes.test.test_doctests.TestImports) ... ok test_usedInParameterDefault (pyflakes.test.test_doctests.TestImports) ... ok test_usedInRaise (pyflakes.test.test_doctests.TestImports) ... ok test_usedInReturn (pyflakes.test.test_doctests.TestImports) ... ok test_usedInSlice (pyflakes.test.test_doctests.TestImports) ... ok test_usedInSliceObj (pyflakes.test.test_doctests.TestImports) ... ok test_usedInSubscript (pyflakes.test.test_doctests.TestImports) ... ok test_usedInTry (pyflakes.test.test_doctests.TestImports) ... ok test_usedInTryFinally (pyflakes.test.test_doctests.TestImports) ... ok test_usedInTuple (pyflakes.test.test_doctests.TestImports) ... ok test_usedInWhile (pyflakes.test.test_doctests.TestImports) ... ok test_usedInYield (pyflakes.test.test_doctests.TestImports) ... ok test_used_package_with_submodule_import (pyflakes.test.test_doctests.TestImports) Usage of package marks submodule imports as used. ... ok test_used_package_with_submodule_import_of_alias (pyflakes.test.test_doctests.TestImports) Usage of package by alias marks submodule imports as used. ... ok test_attrAugmentedAssignment (pyflakes.test.test_doctests.TestOther) Augmented assignment of attributes is supported. ... ok test_breakInsideLoop (pyflakes.test.test_doctests.TestOther) ... ok test_breakOutsideLoop (pyflakes.test.test_doctests.TestOther) ... ok test_classFunctionDecorator (pyflakes.test.test_doctests.TestOther) Test that shadowing a function definition in a class suite with a ... ok test_classNameDefinedPreviously (pyflakes.test.test_doctests.TestOther) If a class name is used in the body of that class's definition and ... ok test_classNameUndefinedInClassBody (pyflakes.test.test_doctests.TestOther) If a class name is used in the body of that class's definition and ... ok test_classRedefinedAsFunction (pyflakes.test.test_doctests.TestOther) If a class is redefined as a function, a warning is emitted. ... ok test_classRedefinition (pyflakes.test.test_doctests.TestOther) If a class is defined twice in the same module, a warning is emitted. ... ok test_classWithReturn (pyflakes.test.test_doctests.TestOther) If a return is used inside a class, a warning is emitted. ... ok test_classWithYield (pyflakes.test.test_doctests.TestOther) If a yield is used inside a class, a warning is emitted. ... ok test_classWithYieldFrom (pyflakes.test.test_doctests.TestOther) If a yield from is used inside a class, a warning is emitted. ... ok test_comparison (pyflakes.test.test_doctests.TestOther) If a defined name is used on either side of any of the six comparison ... ok test_containment (pyflakes.test.test_doctests.TestOther) If a defined name is used on either side of a containment test, no ... ok test_continueInFinally (pyflakes.test.test_doctests.TestOther) ... ok test_continueInsideLoop (pyflakes.test.test_doctests.TestOther) ... ok test_continueOutsideLoop (pyflakes.test.test_doctests.TestOther) ... ok test_defaultExceptLast (pyflakes.test.test_doctests.TestOther) A default except block should be last. ... ok test_defaultExceptNotLast (pyflakes.test.test_doctests.TestOther) ... ok test_doubleAssignment (pyflakes.test.test_doctests.TestOther) If a variable is re-assigned to without being used, no warning is ... skipped 'todo: Too hard to make this warn but other cases stay silent' test_doubleAssignmentConditionally (pyflakes.test.test_doctests.TestOther) If a variable is re-assigned within a conditional, no warning is ... ok test_doubleAssignmentWithUse (pyflakes.test.test_doctests.TestOther) If a variable is re-assigned to after being used, no warning is ... ok test_duplicateArgs (pyflakes.test.test_doctests.TestOther) ... ok test_ellipsis (pyflakes.test.test_doctests.TestOther) Ellipsis in a slice is supported. ... ok test_extendedSlice (pyflakes.test.test_doctests.TestOther) Extended slices are supported. ... ok test_functionDecorator (pyflakes.test.test_doctests.TestOther) Test that shadowing a function definition with a decorated version of ... ok test_functionRedefinedAsClass (pyflakes.test.test_doctests.TestOther) If a function is redefined as a class, a warning is emitted. ... ok test_function_arguments (pyflakes.test.test_doctests.TestOther) Test to traverse ARG and ARGUMENT handler ... ok test_function_arguments_python3 (pyflakes.test.test_doctests.TestOther) ... ok test_globalDeclaredInDifferentScope (pyflakes.test.test_doctests.TestOther) A 'global' can be declared in one scope and reused in another. ... ok test_identity (pyflakes.test.test_doctests.TestOther) If a defined name is used on either side of an identity test, no ... ok test_localReferencedBeforeAssignment (pyflakes.test.test_doctests.TestOther) ... ok test_loopControl (pyflakes.test.test_doctests.TestOther) break and continue statements are supported. ... ok test_modernProperty (pyflakes.test.test_doctests.TestOther) ... ok test_moduleWithReturn (pyflakes.test.test_doctests.TestOther) If a return is used at the module level, a warning is emitted. ... ok test_moduleWithYield (pyflakes.test.test_doctests.TestOther) If a yield is used at the module level, a warning is emitted. ... ok test_moduleWithYieldFrom (pyflakes.test.test_doctests.TestOther) If a yield from is used at the module level, a warning is emitted. ... ok test_redefinedClassFunction (pyflakes.test.test_doctests.TestOther) Test that shadowing a function definition in a class suite with another ... ok test_redefinedElseInListComp (pyflakes.test.test_doctests.TestOther) Test that shadowing a variable in a list comprehension in ... skipped 'in Python 3 list comprehensions execute in a separate scope' test_redefinedFunction (pyflakes.test.test_doctests.TestOther) Test that shadowing a function definition with another one raises a ... ok test_redefinedIfElseFunction (pyflakes.test.test_doctests.TestOther) Test that shadowing a function definition twice in an if ... ok test_redefinedIfElseInListComp (pyflakes.test.test_doctests.TestOther) Test that shadowing a variable in a list comprehension in ... ok test_redefinedIfFunction (pyflakes.test.test_doctests.TestOther) Test that shadowing a function definition within an if block ... ok test_redefinedInDictComprehension (pyflakes.test.test_doctests.TestOther) Test that reusing a variable in a dict comprehension does not raise ... ok test_redefinedInGenerator (pyflakes.test.test_doctests.TestOther) Test that reusing a variable in a generator does not raise ... ok test_redefinedInListComp (pyflakes.test.test_doctests.TestOther) Test that shadowing a variable in a list comprehension raises ... skipped 'in Python 3 list comprehensions execute in a separate scope' test_redefinedInSetComprehension (pyflakes.test.test_doctests.TestOther) Test that reusing a variable in a set comprehension does not raise ... ok test_redefinedTryExceptFunction (pyflakes.test.test_doctests.TestOther) Test that shadowing a function definition twice in try ... ok test_redefinedTryFunction (pyflakes.test.test_doctests.TestOther) Test that shadowing a function definition within a try block ... ok test_redefinedUnderscoreFunction (pyflakes.test.test_doctests.TestOther) Test that shadowing a function definition named with underscore doesn't ... ok test_redefinedUnderscoreImportation (pyflakes.test.test_doctests.TestOther) Test that shadowing an underscore importation raises a warning. ... ok test_starredAssignmentErrors (pyflakes.test.test_doctests.TestOther) SyntaxErrors (not encoded in the ast) surrounding Python 3 extended ... ok test_starredAssignmentNoError (pyflakes.test.test_doctests.TestOther) Python 3 extended iterable unpacking ... ok test_unaryPlus (pyflakes.test.test_doctests.TestOther) Don't die on unary +. ... ok test_undefinedBaseClass (pyflakes.test.test_doctests.TestOther) If a name in the base list of a class definition is undefined, a ... ok test_varAugmentedAssignment (pyflakes.test.test_doctests.TestOther) Augmented assignment of a variable is supported. ... ok test_annotationUndefined (pyflakes.test.test_doctests.TestUndefinedNames) Undefined annotations. ... ok test_badNestedClass (pyflakes.test.test_doctests.TestUndefinedNames) Free variables in nested classes must bind at class creation. ... ok test_builtinWindowsError (pyflakes.test.test_doctests.TestUndefinedNames) C{WindowsError} is sometimes a builtin name, so no warning is emitted ... ok test_builtins (pyflakes.test.test_doctests.TestUndefinedNames) ... ok test_definedAsStarArgs (pyflakes.test.test_doctests.TestUndefinedNames) Star and double-star arg names are defined. ... ok test_definedAsStarUnpack (pyflakes.test.test_doctests.TestUndefinedNames) Star names in unpack are defined. ... ok test_definedByGlobal (pyflakes.test.test_doctests.TestUndefinedNames) "global" can make an otherwise undefined name in another function ... ok test_definedByGlobalMultipleNames (pyflakes.test.test_doctests.TestUndefinedNames) "global" can accept multiple names. ... ok test_definedFromLambdaInDictionaryComprehension (pyflakes.test.test_doctests.TestUndefinedNames) Defined name referenced from a lambda function within a dict/set ... ok test_definedFromLambdaInGenerator (pyflakes.test.test_doctests.TestUndefinedNames) Defined name referenced from a lambda function within a generator ... ok test_definedInClass (pyflakes.test.test_doctests.TestUndefinedNames) Defined name for generator expressions and dict/set comprehension. ... ok test_definedInClassNested (pyflakes.test.test_doctests.TestUndefinedNames) Defined name for nested generator expressions in a class. ... ok test_definedInGenExp (pyflakes.test.test_doctests.TestUndefinedNames) Using the loop variable of a generator expression results in no ... ok test_definedInListComp (pyflakes.test.test_doctests.TestUndefinedNames) ... ok test_del (pyflakes.test.test_doctests.TestUndefinedNames) Del deletes bindings. ... ok test_delConditional (pyflakes.test.test_doctests.TestUndefinedNames) Ignores conditional bindings deletion. ... ok test_delConditionalNested (pyflakes.test.test_doctests.TestUndefinedNames) Ignored conditional bindings deletion even if they are nested in other ... ok test_delExceptionInExcept (pyflakes.test.test_doctests.TestUndefinedNames) The exception name can be deleted in the except: block. ... ok test_delGlobal (pyflakes.test.test_doctests.TestUndefinedNames) Del a global binding from a function. ... ok test_delUndefined (pyflakes.test.test_doctests.TestUndefinedNames) Del an undefined name. ... ok test_delWhile (pyflakes.test.test_doctests.TestUndefinedNames) Ignore bindings deletion if called inside the body of a while ... ok test_delWhileNested (pyflakes.test.test_doctests.TestUndefinedNames) Ignore bindings deletions if node is part of while's test, even when ... ok test_delWhileTestUsage (pyflakes.test.test_doctests.TestUndefinedNames) Ignore bindings deletion if called inside the body of a while ... ok test_doubleNestingReportsClosestName (pyflakes.test.test_doctests.TestUndefinedNames) Test that referencing a local name in a nested scope that shadows a ... ok test_dunderClass (pyflakes.test.test_doctests.TestUndefinedNames) `__class__` is defined in class scope under Python 3, but is not ... ok test_functionsNeedGlobalScope (pyflakes.test.test_doctests.TestUndefinedNames) ... ok test_globalFromNestedScope (pyflakes.test.test_doctests.TestUndefinedNames) Global names are available from nested scopes. ... ok test_globalImportStar (pyflakes.test.test_doctests.TestUndefinedNames) Can't find undefined names with import *. ... ok test_globalInGlobalScope (pyflakes.test.test_doctests.TestUndefinedNames) A global statement in the global scope is ignored. ... ok test_global_reset_name_only (pyflakes.test.test_doctests.TestUndefinedNames) A global statement does not prevent other names being undefined. ... ok test_intermediateClassScopeIgnored (pyflakes.test.test_doctests.TestUndefinedNames) If a name defined in an enclosing scope is shadowed by a local variable ... ok test_keywordOnlyArgs (pyflakes.test.test_doctests.TestUndefinedNames) Keyword-only arg names are defined. ... ok test_keywordOnlyArgsUndefined (pyflakes.test.test_doctests.TestUndefinedNames) Typo in kwonly name. ... ok test_laterRedefinedGlobalFromNestedScope (pyflakes.test.test_doctests.TestUndefinedNames) Test that referencing a local name that shadows a global, before it is ... ok test_laterRedefinedGlobalFromNestedScope2 (pyflakes.test.test_doctests.TestUndefinedNames) Test that referencing a local name in a nested scope that shadows a ... ok test_laterRedefinedGlobalFromNestedScope3 (pyflakes.test.test_doctests.TestUndefinedNames) Test that referencing a local name in a nested scope that shadows a ... ok test_localImportStar (pyflakes.test.test_doctests.TestUndefinedNames) A local import * still allows undefined names to be found ... skipped 'obsolete syntax' test_magicGlobalsBuiltins (pyflakes.test.test_doctests.TestUndefinedNames) Use of the C{__builtins__} magic global should not emit an undefined ... ok test_magicGlobalsFile (pyflakes.test.test_doctests.TestUndefinedNames) Use of the C{__file__} magic global should not emit an undefined name ... ok test_magicGlobalsName (pyflakes.test.test_doctests.TestUndefinedNames) Use of the C{__name__} magic global should not emit an undefined name ... ok test_magicGlobalsPath (pyflakes.test.test_doctests.TestUndefinedNames) Use of the C{__path__} magic global should not emit an undefined name ... ok test_magicModuleInClassScope (pyflakes.test.test_doctests.TestUndefinedNames) Use of the C{__module__} magic builtin should not emit an undefined ... ok test_metaClassUndefined (pyflakes.test.test_doctests.TestUndefinedNames) ... ok test_moduleAnnotations (pyflakes.test.test_doctests.TestUndefinedNames) Use of the C{__annotations__} in module scope should not emit ... ok test_namesDeclaredInExceptBlocks (pyflakes.test.test_doctests.TestUndefinedNames) Locals declared in except: blocks can be used after the block. ... ok test_nestedClass (pyflakes.test.test_doctests.TestUndefinedNames) Nested classes can access enclosing scope. ... ok test_undefined (pyflakes.test.test_doctests.TestUndefinedNames) ... ok test_undefinedAugmentedAssignment (pyflakes.test.test_doctests.TestUndefinedNames) ... ok test_undefinedExceptionName (pyflakes.test.test_doctests.TestUndefinedNames) Exception names can't be used after the except: block. ... ok test_undefinedExceptionNameObscuringGlobalVariable (pyflakes.test.test_doctests.TestUndefinedNames) Exception names obscure globals, can't be used after. ... skipped 'error reporting disabled due to false positives below' test_undefinedExceptionNameObscuringGlobalVariable2 (pyflakes.test.test_doctests.TestUndefinedNames) Exception names obscure globals, can't be used after. ... skipped 'error reporting disabled due to false positives below' test_undefinedExceptionNameObscuringGlobalVariableFalsePositive1 (pyflakes.test.test_doctests.TestUndefinedNames) Exception names obscure globals, can't be used after. Unless. ... ok test_undefinedExceptionNameObscuringGlobalVariableFalsePositive2 (pyflakes.test.test_doctests.TestUndefinedNames) Exception names obscure globals, can't be used after. Unless. ... ok test_undefinedExceptionNameObscuringLocalVariable (pyflakes.test.test_doctests.TestUndefinedNames) Exception names obscure locals, can't be used after. ... skipped 'error reporting disabled due to false positives below' test_undefinedExceptionNameObscuringLocalVariable2 (pyflakes.test.test_doctests.TestUndefinedNames) Exception names are unbound after the `except:` block. ... ok test_undefinedExceptionNameObscuringLocalVariableFalsePositive1 (pyflakes.test.test_doctests.TestUndefinedNames) Exception names obscure locals, can't be used after. Unless. ... ok test_undefinedExceptionNameObscuringLocalVariableFalsePositive2 (pyflakes.test.test_doctests.TestUndefinedNames) Exception names obscure locals, can't be used after. Unless. ... ok test_undefinedFromLambdaInComprehension (pyflakes.test.test_doctests.TestUndefinedNames) Undefined name referenced from a lambda function within a generator ... ok test_undefinedFromLambdaInDictionaryComprehension (pyflakes.test.test_doctests.TestUndefinedNames) Undefined name referenced from a lambda function within a dict/set ... ok test_undefinedInGenExpNested (pyflakes.test.test_doctests.TestUndefinedNames) The loop variables of generator expressions nested together are ... ok test_undefinedInListComp (pyflakes.test.test_doctests.TestUndefinedNames) ... ok test_undefinedInLoop (pyflakes.test.test_doctests.TestUndefinedNames) The loop variable is defined after the expression is computed. ... ok test_undefinedWithErrorHandler (pyflakes.test.test_doctests.TestUndefinedNames) Some compatibility code checks explicitly for NameError. ... ok test_unpackedParameter (pyflakes.test.test_doctests.TestUndefinedNames) Unpacked function parameters create bindings. ... skipped 'obsolete syntax' test_unusedAsStarUnpack (pyflakes.test.test_doctests.TestUndefinedNames) Star names in unpack are unused if RHS is a tuple/list literal. ... ok test_unused_global (pyflakes.test.test_doctests.TestUndefinedNames) An unused global statement does not define the name. ... skipped 'todo' test_usedAsStarUnpack (pyflakes.test.test_doctests.TestUndefinedNames) Star names in unpack are used if RHS is not a tuple/list literal. ... ok test_duplicate_key_float_and_int (pyflakes.test.test_dict.Test) These do look like different values, but when it comes to their use as ... ok test_duplicate_keys (pyflakes.test.test_dict.Test) ... ok test_duplicate_keys_bools (pyflakes.test.test_dict.Test) ... ok test_duplicate_keys_bools_false (pyflakes.test.test_dict.Test) ... ok test_duplicate_keys_bytes_vs_unicode_py2 (pyflakes.test.test_dict.Test) ... skipped "bytes and strings with same 'value' are equal in python2" test_duplicate_keys_bytes_vs_unicode_py3 (pyflakes.test.test_dict.Test) ... ok test_duplicate_keys_in_function (pyflakes.test.test_dict.Test) ... ok test_duplicate_keys_in_lambda (pyflakes.test.test_dict.Test) ... ok test_duplicate_keys_ints (pyflakes.test.test_dict.Test) ... ok test_duplicate_keys_none (pyflakes.test.test_dict.Test) ... ok test_duplicate_keys_tuples (pyflakes.test.test_dict.Test) ... ok test_duplicate_keys_tuples_int_and_float (pyflakes.test.test_dict.Test) ... ok test_duplicate_values_bytes_vs_unicode_py2 (pyflakes.test.test_dict.Test) ... skipped "bytes and strings with same 'value' are equal in python2" test_duplicate_values_bytes_vs_unicode_py3 (pyflakes.test.test_dict.Test) ... ok test_duplicate_variable_keys (pyflakes.test.test_dict.Test) ... ok test_duplicate_variable_values (pyflakes.test.test_dict.Test) ... ok test_duplicate_variable_values_same_value (pyflakes.test.test_dict.Test) ... ok test_multiple_duplicate_keys (pyflakes.test.test_dict.Test) ... ok test_no_duplicate_key_error_same_value (pyflakes.test.test_dict.Test) ... ok test_no_duplicate_key_errors (pyflakes.test.test_dict.Test) ... ok test_no_duplicate_key_errors_bool_or_none (pyflakes.test.test_dict.Test) ... ok test_no_duplicate_key_errors_func_call (pyflakes.test.test_dict.Test) ... ok test_no_duplicate_key_errors_instance_attributes (pyflakes.test.test_dict.Test) ... ok test_no_duplicate_key_errors_ints (pyflakes.test.test_dict.Test) ... ok test_no_duplicate_key_errors_tuples (pyflakes.test.test_dict.Test) ... ok test_no_duplicate_key_errors_vars (pyflakes.test.test_dict.Test) ... ok test_no_duplicate_keys_tuples_same_first_element (pyflakes.test.test_dict.Test) ... ok test_class_segment (pyflakes.test.test_code_segment.TestCodeSegments) ... ok test_function_segment (pyflakes.test.test_code_segment.TestCodeSegments) ... ok test_scope_class (pyflakes.test.test_code_segment.TestCodeSegments) ... ok test_scope_function (pyflakes.test.test_code_segment.TestCodeSegments) ... ok test_bytes (pyflakes.test.test_checker.CollectTypeCommentsTests) Test that the function works for binary source ... ok test_function_def_assigned_comments (pyflakes.test.test_checker.CollectTypeCommentsTests) Test that type comments for function arguments are all attributed to ... ok test_last_node_wins (pyflakes.test.test_checker.CollectTypeCommentsTests) Test that when two typeable nodes are present on a line, the last ... ok test_non_type_comment_ignored (pyflakes.test.test_checker.CollectTypeCommentsTests) Test that a non-type comment is ignored ... ok test_text (pyflakes.test.test_checker.CollectTypeCommentsTests) Test that the function works for text source ... ok test_type_comment_before_typeable (pyflakes.test.test_checker.CollectTypeCommentsTests) Test that a type comment before something typeable is ignored. ... ok test_type_comment_starts_with_word_ignore (pyflakes.test.test_checker.CollectTypeCommentsTests) ... ok test_type_comment_with_extra_still_collected (pyflakes.test.test_checker.CollectTypeCommentsTests) ... ok test_type_comment_without_whitespace (pyflakes.test.test_checker.CollectTypeCommentsTests) ... ok test_type_ignore_comment_ignored (pyflakes.test.test_checker.CollectTypeCommentsTests) Test that `# type: ignore` comments are not collected. ... ok test_type_ignore_with_other_things_ignored (pyflakes.test.test_checker.CollectTypeCommentsTests) Test that `# type: ignore` comments with more content are also not ... ok test_last_node_wins (pyflakes.test.test_checker.TypeableVisitorTests) Test that when two typeable nodes are present on a line, the last ... ok test_node_types (pyflakes.test.test_checker.TypeableVisitorTests) Test that the typeable node types are collected ... ok test_py35_node_types (pyflakes.test.test_checker.TypeableVisitorTests) Test that the PEP 492 node types are collected ... ok test_visitor_recurses (pyflakes.test.test_checker.TypeableVisitorTests) Test the common pitfall of missing `generic_visit` in visitors by ... ok test_builtin_in_comprehension (pyflakes.test.test_builtin.TestBuiltins) ... skipped 'not an UnboundLocalError in Python 3' test_builtin_unbound_local (pyflakes.test.test_builtin.TestBuiltins) ... ok test_global_shadowing_builtin (pyflakes.test.test_builtin.TestBuiltins) ... ok test_CRLFLineEndings (pyflakes.test.test_api.CheckTests) Source files with Windows CR LF line endings are parsed successfully. ... ok test_checkPathNonExisting (pyflakes.test.test_api.CheckTests) L{checkPath} handles non-existing files. ... ok test_checkRecursive (pyflakes.test.test_api.CheckTests) L{checkRecursive} descends into each directory, finding Python files ... ok test_encodedFileUTF8 (pyflakes.test.test_api.CheckTests) If source file declares the correct encoding, no error is reported. ... ok test_eofSyntaxError (pyflakes.test.test_api.CheckTests) The error reported for source files which end prematurely causing a ... ok test_eofSyntaxErrorWithTab (pyflakes.test.test_api.CheckTests) The error reported for source files which end prematurely causing a ... ok test_invalidEscape (pyflakes.test.test_api.CheckTests) The invalid escape syntax raises ValueError in Python 2 ... ok test_legacyScript (pyflakes.test.test_api.CheckTests) ... ok test_misencodedFileUTF16 (pyflakes.test.test_api.CheckTests) If a source file contains bytes which cannot be decoded, this is ... ok test_misencodedFileUTF8 (pyflakes.test.test_api.CheckTests) If a source file contains bytes which cannot be decoded, this is ... ok test_missingTrailingNewline (pyflakes.test.test_api.CheckTests) Source which doesn't end with a newline shouldn't cause any ... ok test_multilineSyntaxError (pyflakes.test.test_api.CheckTests) Source which includes a syntax error which results in the raised ... ok test_nonDefaultFollowsDefaultSyntaxError (pyflakes.test.test_api.CheckTests) Source which has a non-default argument following a default argument ... ok test_nonKeywordAfterKeywordSyntaxError (pyflakes.test.test_api.CheckTests) Source which has a non-keyword argument after a keyword argument should ... ok test_permissionDenied (pyflakes.test.test_api.CheckTests) If the source file is not readable, this is reported on standard ... ok test_pyflakesWarning (pyflakes.test.test_api.CheckTests) If the source file has a pyflakes warning, this is reported as a ... ok test_errors_io (pyflakes.test.test_api.IntegrationTests) When pyflakes finds errors with the files it's given, (if they don't ... ok test_errors_syntax (pyflakes.test.test_api.IntegrationTests) When pyflakes finds errors with the files it's given, (if they don't ... ok test_fileWithFlakes (pyflakes.test.test_api.IntegrationTests) When a Python source file has warnings, the return code is non-zero ... ok test_goodFile (pyflakes.test.test_api.IntegrationTests) When a Python source file is all good, the return code is zero and no ... ok test_readFromStdin (pyflakes.test.test_api.IntegrationTests) If no arguments are passed to C{pyflakes} then it reads from stdin. ... ok test_emptyDirectory (pyflakes.test.test_api.TestIterSourceCode) There are no Python files in an empty directory. ... ok test_explicitFiles (pyflakes.test.test_api.TestIterSourceCode) If one of the paths given to L{iterSourceCode} is not a directory but ... ok test_multipleDirectories (pyflakes.test.test_api.TestIterSourceCode) L{iterSourceCode} can be given multiple directories. It will recurse ... ok test_onlyPythonSource (pyflakes.test.test_api.TestIterSourceCode) Files that are not Python source files are not included. ... ok test_recurses (pyflakes.test.test_api.TestIterSourceCode) If the Python files are hidden deep down in child directories, we will ... ok test_shebang (pyflakes.test.test_api.TestIterSourceCode) Find Python files that don't end with `.py`, but contain a Python ... ok test_singleFile (pyflakes.test.test_api.TestIterSourceCode) If the directory contains one Python file, C{iterSourceCode} will find ... ok test_errors_io (pyflakes.test.test_api.TestMain) When pyflakes finds errors with the files it's given, (if they don't ... ok test_errors_syntax (pyflakes.test.test_api.TestMain) When pyflakes finds errors with the files it's given, (if they don't ... ok test_fileWithFlakes (pyflakes.test.test_api.TestMain) When a Python source file has warnings, the return code is non-zero ... ok test_goodFile (pyflakes.test.test_api.TestMain) When a Python source file is all good, the return code is zero and no ... ok test_readFromStdin (pyflakes.test.test_api.TestMain) If no arguments are passed to C{pyflakes} then it reads from stdin. ... ok test_flake (pyflakes.test.test_api.TestReporter) C{flake} reports a code warning from Pyflakes. It is exactly the ... ok test_multiLineSyntaxError (pyflakes.test.test_api.TestReporter) If there's a multi-line syntax error, then we only report the last ... ok test_syntaxError (pyflakes.test.test_api.TestReporter) C{syntaxError} reports that there was a syntax error in the source ... ok test_syntaxErrorNoOffset (pyflakes.test.test_api.TestReporter) C{syntaxError} doesn't include a caret pointing to the error if ... ok test_unexpectedError (pyflakes.test.test_api.TestReporter) C{unexpectedError} reports an error processing a source file. ... ok ---------------------------------------------------------------------- Ran 701 tests in 1.704s OK (skipped=34) + RPM_EC=0 ++ jobs -p Processing files: python3-pyflakes-2.1.1-6.fc33.noarch + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0Evz4w + umask 022 + cd /builddir/build/BUILD + cd pyflakes-2.1.1 + DOCDIR=/builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/doc/python3-pyflakes + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/doc/python3-pyflakes + cp -pr AUTHORS /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/doc/python3-pyflakes + cp -pr NEWS.rst /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/doc/python3-pyflakes + cp -pr README.rst /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/doc/python3-pyflakes + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zH4Ezw + umask 022 + cd /builddir/build/BUILD + cd pyflakes-2.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/licenses/python3-pyflakes + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/licenses/python3-pyflakes + cp -pr LICENSE /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64/usr/share/licenses/python3-pyflakes + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pyflakes = 2.1.1-6.fc33 python-pyflakes = 2.1.1-6.fc33 python3-pyflakes = 2.1.1-6.fc33 python3.9dist(pyflakes) = 2.1.1 python39-pyflakes = 2.1.1-6.fc33 python39-pyflakes = 2.1.1-6.fc33 python3dist(pyflakes) = 2.1.1 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/bin/python3 python(abi) = 3.9 python3.9dist(setuptools) Obsoletes: python-pyflakes < 2.1.1-6.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64 Wrote: /builddir/build/RPMS/python3-pyflakes-2.1.1-6.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rH2dvx + umask 022 + cd /builddir/build/BUILD + cd pyflakes-2.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pyflakes-2.1.1-6.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0