diff options
author | lassulus <lassulus@lassul.us> | 2019-10-21 23:20:25 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-10-23 20:47:27 +0200 |
commit | e7cccb74ee04c1283eb5f2c5c7f6ce9bb96731e9 (patch) | |
tree | 225d73a4e5e3bf1034317640a860fe3a846c6a24 /pkgs/build-support/writers | |
parent | a5d874935e307fb3e354c06e1b9a518f7441fbeb (diff) | |
download | nixpkgs-e7cccb74ee04c1283eb5f2c5c7f6ce9bb96731e9.tar nixpkgs-e7cccb74ee04c1283eb5f2c5c7f6ce9bb96731e9.tar.gz nixpkgs-e7cccb74ee04c1283eb5f2c5c7f6ce9bb96731e9.tar.bz2 nixpkgs-e7cccb74ee04c1283eb5f2c5c7f6ce9bb96731e9.tar.lz nixpkgs-e7cccb74ee04c1283eb5f2c5c7f6ce9bb96731e9.tar.xz nixpkgs-e7cccb74ee04c1283eb5f2c5c7f6ce9bb96731e9.tar.zst nixpkgs-e7cccb74ee04c1283eb5f2c5c7f6ce9bb96731e9.zip |
writers test: fix python2 linter errors
Diffstat (limited to 'pkgs/build-support/writers')
-rw-r--r-- | pkgs/build-support/writers/test.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/build-support/writers/test.nix b/pkgs/build-support/writers/test.nix index d7c347a559e..d854b552c53 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 ''; |