1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

pythonPackages.aenum: disable python2 tests

python2 doesn't guarentee cardinality with lists.
This commit is contained in:
Jonathan Ringer 2019-10-26 14:46:04 -07:00 committed by Frederik Rietdijk
parent e90ed4bc96
commit 48091cc043

View file

@ -13,6 +13,8 @@ buildPythonPackage rec {
# tests to pass
checkInputs = if isPy3k then [ glibcLocales ] else [];
# py2 likes to reorder tests
doCheck = isPy3k;
checkPhase = ''
runHook preCheck
${if isPy3k then "export LC_ALL=en_US.UTF-8" else ""}