The following issues were found
Lib/test/test_multiprocessing_spawn.py
2 issues
Line: 9
Column: 1
if support.PGO:
raise unittest.SkipTest("test is not helpful for PGO")
test._test_multiprocessing.install_tests_in_module_dict(globals(), 'spawn')
if __name__ == '__main__':
unittest.main()
Reported by Pylint.
Line: 1
Column: 1
import unittest
import test._test_multiprocessing
from test import support
if support.PGO:
raise unittest.SkipTest("test is not helpful for PGO")
test._test_multiprocessing.install_tests_in_module_dict(globals(), 'spawn')
Reported by Pylint.
Lib/test/crashers/recursive_call.py
2 issues
Line: 12
Column: 5
import sys
sys.setrecursionlimit(1 << 30)
f = lambda f:f(f)
if __name__ == '__main__':
f(f)
Reported by Pylint.
Line: 1
Column: 1
#!/usr/bin/env python3
# No bug report AFAIK, mail on python-dev on 2006-01-10
# This is a "won't fix" case. It is known that setting a high enough
# recursion limit crashes by overflowing the stack. Unless this is
# redesigned somehow, it won't go away.
import sys
Reported by Pylint.
Lib/test/bad_getattr.py
2 issues
Line: 1
Column: 1
x = 1
__getattr__ = "Surprise!"
__dir__ = "Surprise again!"
Reported by Pylint.
Line: 1
Column: 1
x = 1
__getattr__ = "Surprise!"
__dir__ = "Surprise again!"
Reported by Pylint.
Lib/test/test_asyncio/__init__.py
2 issues
Line: 1
Column: 1
import os
from test.support import load_package_tests
from test.support import import_helper
# Skip tests if we don't have concurrent.futures.
import_helper.import_module('concurrent.futures')
def load_tests(*args):
Reported by Pylint.
Line: 9
Column: 1
# Skip tests if we don't have concurrent.futures.
import_helper.import_module('concurrent.futures')
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Lib/test/test_import/data/circular_imports/subpackage.py
2 issues
Line: 2
Column: 1
"""Circular import involving a sub-package."""
from .subpkg import subpackage2
Reported by Pylint.
Line: 2
Column: 1
"""Circular import involving a sub-package."""
from .subpkg import subpackage2
Reported by Pylint.
Lib/msilib/sequence.py
2 issues
Line: 1
Column: 1
AdminExecuteSequence = [
('InstallInitialize', None, 1500),
('InstallFinalize', None, 6600),
('InstallFiles', None, 4000),
('InstallAdminPackage', None, 3900),
('FileCost', None, 900),
('CostInitialize', None, 800),
('CostFinalize', None, 1000),
('InstallValidate', None, 1400),
Reported by Pylint.
Line: 126
Column: 1
('ValidateProductID', None, 700),
]
tables=['AdminExecuteSequence', 'AdminUISequence', 'AdvtExecuteSequence', 'InstallExecuteSequence', 'InstallUISequence']
Reported by Pylint.
Lib/test/coding20731.py
1 issues
Line: 4
Column: 1
#coding:latin1
Reported by Pylint.
Lib/test/test_patma.py
1 issues
Line: 30
Column: 16
@staticmethod
def check_sequence_then_mapping(x):
match x:
case [*_]:
return "seq"
case {}:
return "map"
Reported by Pylint.
Lib/lib2to3/tests/data/different_encoding.py
1 issues
Line: 3
Column: 8
#!/usr/bin/env python
# -*- coding: utf-8 -*-
print u'ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ'
def f(x):
print '%s\t-> α(%2i):%s β(%s)'
Reported by Pylint.
Lib/test/__main__.py
1 issues
Line: 1
Column: 1
from test.libregrtest import main
main()
Reported by Pylint.