Closed
Description
Hi,
In building the NixOS package for this, we noticed the tests started failing when we bumped our pylint
from 2.10.2 to 2.11.1:
=================================== FAILURES ===================================
_____________ test_everything[func_noerror_foreign_key_attributes] _____________
test_file = FunctionalTest:func_noerror_foreign_key_attributes
@pytest.mark.parametrize("test_file", TESTS, ids=TESTS_NAMES)
def test_everything(test_file):
# copied from pylint.tests.test_functional.test_functional
LintTest = PylintDjangoLintModuleTest(test_file)
LintTest.setUp()
> LintTest._runTest()
E AssertionError: Wrong results for file "func_noerror_foreign_key_attributes":
E
E Unexpected in testdata:
E 19: consider-using-f-string
pylint_django/tests/test_func.py:98: AssertionError
________________ test_everything[external_factory_boy_noerror] _________________
test_file = FunctionalTest:external_factory_boy_noerror
@pytest.mark.parametrize("test_file", TESTS, ids=TESTS_NAMES)
def test_everything(test_file):
# copied from pylint.tests.test_functional.test_functional
LintTest = PylintDjangoLintModuleTest(test_file)
LintTest.setUp()
> LintTest._runTest()
E AssertionError: Wrong results for file "external_factory_boy_noerror":
E
E Unexpected in testdata:
E 25: consider-using-f-string
E 32: consider-using-f-string
pylint_django/tests/test_func.py:98: AssertionError
Full build log available at https://hydra.nixos.org/log/cd3f9k3rmly3d9k0zan0gazrb3znqhys-python3.8-pylint-django-2.4.4.drv where all requirements exact versions can also be seen.
This is pylint-django 2.4.4. Same issue on linux and macos builds.
Metadata
Metadata
Assignees
Labels
No labels