>>> py3-pyflakes: Building community/py3-pyflakes 2.4.0-r0 (using abuild 3.9.0-r0) started Wed, 13 Apr 2022 17:54:05 +0000 >>> py3-pyflakes: Checking sanity of /home/buildozer/aports/community/py3-pyflakes/APKBUILD... >>> py3-pyflakes: Analyzing dependencies... >>> py3-pyflakes: Installing for build: build-base python3 py3-setuptools (1/16) Installing libbz2 (1.0.8-r1) (2/16) Installing libffi (3.4.2-r1) (3/16) Installing gdbm (1.23-r0) (4/16) Installing xz-libs (5.2.5-r1) (5/16) Installing mpdecimal (2.5.1-r1) (6/16) Installing readline (8.1.2-r0) (7/16) Installing sqlite-libs (3.38.0-r0) (8/16) Installing python3 (3.10.3-r0) (9/16) Installing py3-appdirs (1.4.4-r3) (10/16) Installing py3-more-itertools (8.12.0-r2) (11/16) Installing py3-ordered-set (4.0.2-r3) (12/16) Installing py3-parsing (2.4.7-r3) (13/16) Installing py3-six (1.16.0-r1) (14/16) Installing py3-packaging (21.3-r0) (15/16) Installing py3-setuptools (59.4.0-r0) (16/16) Installing .makedepends-py3-pyflakes (20220413.175409) Executing busybox-1.35.0-r8.trigger OK: 305 MiB in 104 packages >>> py3-pyflakes: Cleaning up srcdir >>> py3-pyflakes: Cleaning up pkgdir >>> py3-pyflakes: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/pyflakes-2.4.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> py3-pyflakes: Fetching https://files.pythonhosted.org/packages/source/p/pyflakes/pyflakes-2.4.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 69101 100 69101 0 0 1120k 0 --:--:-- --:--:-- --:--:-- 1120k >>> py3-pyflakes: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/pyflakes-2.4.0.tar.gz >>> py3-pyflakes: Checking sha512sums... pyflakes-2.4.0.tar.gz: OK >>> py3-pyflakes: Unpacking /var/cache/distfiles/v3.16/pyflakes-2.4.0.tar.gz... running build running build_py creating build creating build/lib creating build/lib/pyflakes copying pyflakes/reporter.py -> build/lib/pyflakes copying pyflakes/__main__.py -> build/lib/pyflakes copying pyflakes/api.py -> build/lib/pyflakes copying pyflakes/messages.py -> build/lib/pyflakes copying pyflakes/__init__.py -> build/lib/pyflakes copying pyflakes/checker.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_dict.py -> build/lib/pyflakes/test copying pyflakes/test/test_builtin.py -> build/lib/pyflakes/test copying pyflakes/test/test_return_with_arguments_inside_generator.py -> build/lib/pyflakes/test copying pyflakes/test/test_code_segment.py -> build/lib/pyflakes/test copying pyflakes/test/test_doctests.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_other.py -> build/lib/pyflakes/test copying pyflakes/test/test_undefined_names.py -> build/lib/pyflakes/test copying pyflakes/test/harness.py -> build/lib/pyflakes/test copying pyflakes/test/test_type_annotations.py -> build/lib/pyflakes/test copying pyflakes/test/__init__.py -> build/lib/pyflakes/test copying pyflakes/test/test_api.py -> build/lib/pyflakes/test copying pyflakes/test/test_match.py -> build/lib/pyflakes/test copying pyflakes/test/test_checker.py -> build/lib/pyflakes/test running test 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. 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' adding license file 'LICENSE' writing manifest file 'pyflakes.egg-info/SOURCES.txt' running build_ext 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_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_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_class_segment (pyflakes.test.test_code_segment.TestCodeSegments) ... ok test_function_segment (pyflakes.test.test_code_segment.TestCodeSegments) ... ok test_scope_async_function (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_doctestCanReferToClass (pyflakes.test.test_doctests.Test) ... ok test_doctestCanReferToFunction (pyflakes.test.test_doctests.Test) ... ok test_globalUnderscoreInDoctest (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) ... skipped 'Python <= 3.8 only' 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_magicQualnameInClassScope (pyflakes.test.test_doctests.TestUndefinedNames) Use of the C{__qualname__} 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_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_tuple_constant (pyflakes.test.test_is_literal.Test) ... ok test_is_tuple_constant_containing_constants (pyflakes.test.test_is_literal.Test) ... ok test_is_tuple_containing_variables_ok (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_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_list_concatenation_assignment (pyflakes.test.test_imports.TestSpecialAll) The C{__all__} variable is defined through list concatenation. ... ok test_redefinedByGenExp (pyflakes.test.test_imports.TestSpecialAll) Re-using a global name as the loop variable for a generator ... ok test_tuple_concatenation_assignment (pyflakes.test.test_imports.TestSpecialAll) The C{__all__} variable is defined through tuple concatenation. ... 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_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) ... skipped 'Python <= 3.8 only' 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) ... skipped 'Python <= 3.8 only' 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_f_string_without_placeholders (pyflakes.test.test_other.TestStringFormatting) ... ok test_invalid_dot_format_calls (pyflakes.test.test_other.TestStringFormatting) ... ok test_invalid_percent_format_calls (pyflakes.test.test_other.TestStringFormatting) ... ok test_ok_percent_format_cannot_determine_element_count (pyflakes.test.test_other.TestStringFormatting) ... 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_assign_expr (pyflakes.test.test_other.TestUnusedAssignment) Test PEP 572 assignment expressions are treated as usage / write. ... 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_if_tuple (pyflakes.test.test_other.TestUnusedAssignment) Test C{if (foo,)} conditions. ... 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_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_magicQualnameInClassScope (pyflakes.test.test_undefined_names.Test) Use of the C{__qualname__} 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_aliased_import (pyflakes.test.test_type_annotations.TestTypeAnnotations) Detect when typing is imported as another name ... ok test_annotated_async_def (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_annotated_type_typing_missing_forward_type (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_annotated_type_typing_missing_forward_type_multiple_args (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_annotated_type_typing_with_string_args (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_annotated_type_typing_with_string_args_in_union (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_annotating_an_import (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_deferred_twice_annotation (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_idomiatic_typing_guards (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_literal_type_some_other_module (pyflakes.test.test_type_annotations.TestTypeAnnotations) err on the side of false-negatives for types named Literal ... ok test_literal_type_typing (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_literal_type_typing_extensions (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_literal_union_type_typing (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_namedtypes_classes (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_nested_partially_quoted_type_assignment (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_overload_in_class (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_overload_with_multiple_decorators (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_partial_string_annotations_with_future_annotations (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_partially_quoted_type_annotation (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_partially_quoted_type_assignment (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_positional_only_argument_annotations (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_postponed_annotations (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_quoted_TypeVar_bound (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_quoted_TypeVar_constraints (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_quoted_type_cast (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_quoted_type_cast_renamed_import (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_return_annotation_is_class_scope_variable (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_return_annotation_is_function_body_variable (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeCommentsAdditionalComment (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_typeIgnore (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeIgnoreBogus (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typeIgnoreBogusUnicode (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_type_annotation_clobbers_all (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_type_cast_literal_str_to_str (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typednames_correct_forward_ref (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_typingExtensionsOverload (pyflakes.test.test_type_annotations.TestTypeAnnotations) Allow intentional redefinitions via @typing_extensions.overload ... ok test_typingOverload (pyflakes.test.test_type_annotations.TestTypeAnnotations) Allow intentional redefinitions via @typing.overload ... ok test_typingOverloadAsync (pyflakes.test.test_type_annotations.TestTypeAnnotations) Allow intentional redefinitions via @typing.overload (async) ... ok test_typing_guard_for_protocol (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_unused_annotation (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... ok test_variable_annotations (pyflakes.test.test_type_annotations.TestTypeAnnotations) ... 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 test_match_bindings (pyflakes.test.test_match.TestMatch) ... ok test_match_double_star (pyflakes.test.test_match.TestMatch) ... ok test_match_or_pattern (pyflakes.test.test_match.TestMatch) ... ok test_match_pattern_matched_class (pyflakes.test.test_match.TestMatch) ... ok test_match_placeholder (pyflakes.test.test_match.TestMatch) ... ok test_match_singleton (pyflakes.test.test_match.TestMatch) ... ok test_match_star (pyflakes.test.test_match.TestMatch) ... 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 ---------------------------------------------------------------------- Ran 758 tests in 1.841s OK (skipped=37) >>> py3-pyflakes: Entering fakeroot... /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( >>> py3-pyflakes*: Running postcheck for py3-pyflakes >>> py3-pyflakes*: Preparing package py3-pyflakes... >>> py3-pyflakes*: Tracing dependencies... >>> py3-pyflakes*: Package size: 784.0 KB >>> py3-pyflakes*: Compressing data... >>> py3-pyflakes*: Create checksum... >>> py3-pyflakes*: Create py3-pyflakes-2.4.0-r0.apk >>> py3-pyflakes: Build complete at Wed, 13 Apr 2022 17:54:13 +0000 elapsed time 0h 0m 8s >>> py3-pyflakes: Cleaning up srcdir >>> py3-pyflakes: Cleaning up pkgdir >>> py3-pyflakes: Uninstalling dependencies... (1/16) Purging .makedepends-py3-pyflakes (20220413.175409) (2/16) Purging py3-setuptools (59.4.0-r0) (3/16) Purging py3-appdirs (1.4.4-r3) (4/16) Purging py3-more-itertools (8.12.0-r2) (5/16) Purging py3-ordered-set (4.0.2-r3) (6/16) Purging py3-packaging (21.3-r0) (7/16) Purging py3-six (1.16.0-r1) (8/16) Purging py3-parsing (2.4.7-r3) (9/16) Purging python3 (3.10.3-r0) (10/16) Purging libbz2 (1.0.8-r1) (11/16) Purging libffi (3.4.2-r1) (12/16) Purging gdbm (1.23-r0) (13/16) Purging xz-libs (5.2.5-r1) (14/16) Purging mpdecimal (2.5.1-r1) (15/16) Purging readline (8.1.2-r0) (16/16) Purging sqlite-libs (3.38.0-r0) Executing busybox-1.35.0-r8.trigger OK: 255 MiB in 88 packages >>> py3-pyflakes: Updating the community/armv7 repository index... >>> py3-pyflakes: Signing the index...