Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy committed Jan 14, 2020
1 parent f4e1c62 commit 9fcfd67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/utils/test_win_reg.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,14 +671,14 @@ def test_cast_vdata_reg_qword(self):
vdata = 1
result = win_reg.cast_vdata(vdata=vdata, vtype='REG_QWORD')
if six.PY2:
self.assertTrue(isinstance(result, long)) # pylint: disable=incompatible-py3-code
self.assertTrue(isinstance(result, long)) # pylint: disable=incompatible-py3-code,undefined-variable
else:
self.assertTrue(isinstance(result, int))

vdata = '1'
result = win_reg.cast_vdata(vdata=vdata, vtype='REG_QWORD')
if six.PY2:
self.assertTrue(isinstance(result, long))
self.assertTrue(isinstance(result, long)) # pylint: disable=incompatible-py3-code,undefined-variable
else:
self.assertTrue(isinstance(result, int))

Expand Down

0 comments on commit 9fcfd67

Please sign in to comment.