69e2a3cec1
self.assertEqual((None, None), A) is valid since (None, None) is not None. However assert_equal_none recognizes it as invalid. Solution: Add '$' (Match the end of the text) with/without comment ( |\t)*#.*)? to the regular expressions which intent to match None at the end of string. Change-Id: Ic5e5c16c9225a80b2765a1d3cde9a5b9e83a06fb
6 lines
189 B
YAML
6 lines
189 B
YAML
---
|
|
fixes:
|
|
- Update hacking check ``N536``. Current implementation recognizes
|
|
``self.assertEqual((None, None), A)`` as invalid incorrectly while
|
|
``(None, None)`` is not ``None``.
|