python312Packages.dukpy: Fix webassets_filter test errors

This commit is contained in:
Pyrox 2024-10-14 17:29:19 -04:00
parent 97485419e6
commit 3a2ef16320
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5

View File

@ -21,6 +21,12 @@ buildPythonPackage rec {
hash = "sha256-8RDMz9SfBoUe7LQ9/atsZlJ/2uwLUb0hZxeYdsUOGpU=";
};
postPatch = ''
substituteInPlace tests/test_webassets_filter.py \
--replace-fail "class PyTestTemp" "class _Temp" \
--replace-fail "PyTestTemp" "Temp"
'';
build-system = [ setuptools ];
dependencies = [ mutf8 ];