ignore linter error for 'long' type
The Python 2 type 'long' does not exist under python 3. The runtime check for the python version is already doing the right thing, but the linter does not honor that check so tell it to ignore the line. Change-Id: If7d49f043da01f94e9d18df7ef81c96ca08bd025 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
a432e30b87
commit
a39833585c
@ -97,7 +97,7 @@ class MsgidTests(testing.TestBase):
|
||||
|
||||
def test_encode(self):
|
||||
if six.PY2:
|
||||
ids = [3, long(1), 0]
|
||||
ids = [3, long(1), 0] # noqa
|
||||
elif six.PY3:
|
||||
ids = [3, 1, 0]
|
||||
msgids = ['5c693a50', '5c693a52', '5c693a53']
|
||||
|
Loading…
x
Reference in New Issue
Block a user