Bug 1523562 [wpt PR 15031] - Update pyflakes to 2.1.0, a=testonly

Automatic update from web-platform-tests
Update pyflakes from 2.0.0 to 2.1.0
--
Fix comparison with int to use == rather than relying on interning

--

wpt-commits: bae08c312f922ab1517ef2e5a14588eadc8d02c0, 2603f1314ebda48d20e2645d34ae8dda413e3484
wpt-pr: 15031
This commit is contained in:
pyup-bot 2019-01-31 19:00:36 +00:00 committed by James Graham
parent b03b36b7a4
commit a9d9bf281d
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
flake8==3.6.0
pycodestyle==2.4.0
pyflakes==2.0.0
pyflakes==2.1.0
pep8-naming==0.7.0

View File

@ -509,7 +509,7 @@ class PackedResultList(object):
prop = prop_intern.get((packed & 0xF000) >> 12)
value_idx = (packed & 0x0F00) >> 8
if value_idx is 0:
if value_idx == 0:
value = self.raw_data[idx]
else:
value = status_intern.get(value_idx)