Skip to content

Commit

Permalink
python312Packages.dukpy: Fix webassets_filter test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrox0 committed Oct 14, 2024
1 parent 9748541 commit 3a2ef16
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/dukpy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit 3a2ef16

Please sign in to comment.