The following issues were found
Lib/test/test_importlib/extension/__init__.py
2 issues
Line: 1
Column: 1
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Line: 4
Column: 1
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Lib/test/encoded_modules/module_iso_8859_1.py
2 issues
Line: 1
Column: 1
Error reading the source code
Reported by Pylint.
Line: 3
Column: 1
Reported by Pylint.
Lib/test/test_importlib/builtin/__init__.py
2 issues
Line: 1
Column: 1
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Line: 4
Column: 1
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Lib/test/test_import/data/circular_imports/subpkg/util.py
2 issues
Line: 1
Column: 1
def util():
pass
Reported by Pylint.
Line: 1
Column: 1
def util():
pass
Reported by Pylint.
Lib/test/test_importlib/source/__init__.py
2 issues
Line: 1
Column: 1
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Line: 4
Column: 1
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Lib/test/test_importlib/namespace_pkgs/project3/parent/child/three.py
2 issues
Line: 1
Column: 1
attr = 'parent child three'
Reported by Pylint.
Line: 1
Column: 1
attr = 'parent child three'
Reported by Pylint.
Lib/test/support/hashlib_helper.py
2 issues
Line: 33
Column: 17
else:
hashlib.new(digestname, usedforsecurity=usedforsecurity)
except ValueError:
raise unittest.SkipTest(
f"hash digest '{digestname}' is not available."
)
return func(*args, **kwargs)
return wrapper
return decorator
Reported by Pylint.
Line: 1
Column: 1
import functools
import hashlib
import unittest
try:
import _hashlib
except ImportError:
_hashlib = None
Reported by Pylint.
Lib/test/test_importlib/namespace_pkgs/project2/parent/child/two.py
2 issues
Line: 1
Column: 1
attr = 'parent child two'
Reported by Pylint.
Line: 1
Column: 1
attr = 'parent child two'
Reported by Pylint.
Lib/test/test_importlib/namespace_pkgs/project1/parent/child/one.py
2 issues
Line: 1
Column: 1
attr = 'parent child one'
Reported by Pylint.
Line: 1
Column: 1
attr = 'parent child one'
Reported by Pylint.
Lib/test/subprocessdata/fd_status.py
2 issues
Line: 19
Column: 9
if len(sys.argv) == 1:
try:
_MAXFD = os.sysconf("SC_OPEN_MAX")
except:
_MAXFD = 256
test_fds = range(0, _MAXFD)
else:
test_fds = map(int, sys.argv[1:])
for fd in test_fds:
Reported by Pylint.
Line: 27
Column: 9
for fd in test_fds:
try:
st = os.fstat(fd)
except OSError as e:
if e.errno == errno.EBADF:
continue
raise
# Ignore Solaris door files
if not stat.S_ISDOOR(st.st_mode):
Reported by Pylint.