writers test: fix python2 linter errors

This commit is contained in:
lassulus 2019-10-21 23:20:25 +02:00
parent a5d874935e
commit e7cccb74ee

View file

@ -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
'';