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 ""}