From 43949f4e0a92bd18cf95b5ec2eb414cb293d49f3 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 18 Oct 2016 17:35:10 +0200 Subject: [PATCH] pythonPackages.pep257: fix tests --- pkgs/top-level/python-packages.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 85c70c29747a..2b13db0925d5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17887,7 +17887,12 @@ in { url = "https://github.com/GreenSteam/pep257/archive/${version}.tar.gz"; sha256 = "0v8aq0xzsa7clazszxl42904c3jpq69lg8a5hg754bqcqf72hfrn"; }; - buildInputs = with self; [ pytest ]; + LC_ALL="en_US.UTF-8"; + buildInputs = with self; [ pkgs.glibcLocales pytest ]; + + checkPhase = '' + py.test + ''; meta = { homepage = https://github.com/GreenSteam/pep257/;