From e7cccb74ee04c1283eb5f2c5c7f6ce9bb96731e9 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 21 Oct 2019 23:20:25 +0200 Subject: [PATCH] writers test: fix python2 linter errors --- pkgs/build-support/writers/test.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/build-support/writers/test.nix b/pkgs/build-support/writers/test.nix index d7c347a559ef..d854b552c532 100644 --- a/pkgs/build-support/writers/test.nix +++ b/pkgs/build-support/writers/test.nix @@ -49,9 +49,11 @@ let python2 = writePython2Bin "test_writers" { libraries = [ python2Packages.enum ]; } '' from enum import Enum + class Test(Enum): a = "success" + print Test.a ''; @@ -112,9 +114,11 @@ let python2 = writePython2 "test_python2" { libraries = [ python2Packages.enum ]; } '' from enum import Enum + class Test(Enum): a = "success" + print Test.a '';