From 48091cc04350928d22548f43b1901179a4fb1917 Mon Sep 17 00:00:00 2001
From: Jonathan Ringer <jonringer117@gmail.com>
Date: Sat, 26 Oct 2019 14:46:04 -0700
Subject: [PATCH] pythonPackages.aenum: disable python2 tests

python2 doesn't guarentee cardinality with lists.
---
 pkgs/development/python-modules/aenum/default.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pkgs/development/python-modules/aenum/default.nix b/pkgs/development/python-modules/aenum/default.nix
index 3861c9a4cb43..051ae50e3a57 100644
--- a/pkgs/development/python-modules/aenum/default.nix
+++ b/pkgs/development/python-modules/aenum/default.nix
@@ -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 ""}