mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Fix flake
This commit is contained in:
parent
df1dc0dba2
commit
3b85d07f08
@ -101,7 +101,7 @@ class QgisTestCase(unittest.TestCase):
|
||||
file_mode = 'ta'
|
||||
try:
|
||||
with open(report_file, 'rt', encoding="utf-8") as f:
|
||||
file_is_empty = not(bool(f.read()))
|
||||
file_is_empty = not bool(f.read())
|
||||
except IOError:
|
||||
pass
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user