python3Packages.flake8-future-import: fix tests

This commit is contained in:
natsukium 2023-05-11 12:36:26 +09:00
parent f4aa6afa5f
commit e7498472a6
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -33,6 +33,11 @@ buildPythonPackage rec {
./skip-test.patch
];
postPatch = ''
substituteInPlace "test_flake8_future_import.py" \
--replace "'flake8'" "'${lib.getExe flake8}'"
'';
propagatedBuildInputs = [ flake8 ];
nativeCheckInputs = [ six ];