mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-13 19:29:15 +01:00
The output of a command is not guaranteed to be valid UTF-8, so the decoding can fail raising UnicodeDecodeError. If this happens during a `succeeds` the check will be erroneously marked failed. This changes the error handling to the "replace" mode, where invalid codepoints are replaced with � (REPLACEMENT CHARACTER U+FFFD) and the decoding can go on. |
||
|---|---|---|
| .. | ||
| test_driver | ||
| default.nix | ||
| setup.py | ||