summaryrefslogtreecommitdiff
path: root/scripts/update_payload/checker_unittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update_payload/checker_unittest.py')
-rwxr-xr-xscripts/update_payload/checker_unittest.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/update_payload/checker_unittest.py b/scripts/update_payload/checker_unittest.py
index c099e2a4..60ae1a22 100755
--- a/scripts/update_payload/checker_unittest.py
+++ b/scripts/update_payload/checker_unittest.py
@@ -132,19 +132,6 @@ class PayloadCheckerTest(mox.MoxTestBase):
new_field = repeated_field.add()
new_field.CopyFrom(field_val)
- # The production environment uses an older Python, this isn't an override.
- # pylint: disable=W0221
- def assertIsNone(self, val):
- """Asserts that val is None (TODO remove once we upgrade to Python 2.7).
-
- Note that we're using assertEqual so as for it to show us the actual
- non-None value.
-
- Args:
- val: Value/object to be equated to None.
- """
- self.assertIs(None, val)
-
def SetupAddElemTest(self, is_present, is_submsg, convert=str,
linebreak=False, indent=0):
"""Setup for testing of _CheckElem() and its derivatives.