File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,13 @@ def _attachment_contents(self):
130
130
:rtype: bytes
131
131
"""
132
132
133
- with open (self ._get_directory_test_root () + self ._PATH_ATTACHMENT + self ._ATTACHMENT_PATH_IN ,
134
- self ._READ_BYTES ) as f :
135
- return f .read ()
133
+ with open (
134
+ self ._get_directory_test_root () +
135
+ self ._PATH_ATTACHMENT +
136
+ self ._ATTACHMENT_PATH_IN ,
137
+ self ._READ_BYTES
138
+ ) as file :
139
+ return file .read ()
136
140
137
141
@property
138
142
def alias_first (self ):
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ def attachment_contents(self):
42
42
:rtype: bytes
43
43
"""
44
44
45
- with open (self ._PATH_ATTACHMENT + self ._ATTACHMENT_PATH_IN ,
46
- self ._READ_BYTES ) as f :
47
- return f .read ()
45
+ with open (
46
+ self ._PATH_ATTACHMENT + self ._ATTACHMENT_PATH_IN ,
47
+ self ._READ_BYTES
48
+ ) as file :
49
+ return file .read ()
You can’t perform that action at this time.
0 commit comments