pypy310Packages.{flake8,pyflakes}: disable failing tests (#370833)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
isPyPy,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
@@ -35,6 +36,12 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = lib.optionals isPyPy [
|
||||
# tests fail due to slightly different error position
|
||||
"test_tokenization_error_is_a_syntax_error"
|
||||
"test_tokenization_error_but_not_syntax_error"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/PyCQA/flake8/blob/${src.rev}/docs/source/release-notes/${version}.rst";
|
||||
description = "Modular source code checker: pep8, pyflakes and co";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
isPyPy,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
@@ -27,10 +28,17 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.13") [
|
||||
# https://github.com/PyCQA/pyflakes/issues/812
|
||||
"test_errors_syntax"
|
||||
];
|
||||
disabledTests =
|
||||
lib.optionals (pythonAtLeast "3.13") [
|
||||
# https://github.com/PyCQA/pyflakes/issues/812
|
||||
"test_errors_syntax"
|
||||
]
|
||||
++ lib.optionals isPyPy [
|
||||
# https://github.com/PyCQA/pyflakes/issues/779
|
||||
"test_eofSyntaxError"
|
||||
"test_misencodedFileUTF8"
|
||||
"test_multilineSyntaxError"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyflakes" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user