summaryrefslogtreecommitdiffstats
path: root/googletest/test/googletest-break-on-failure-unittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/test/googletest-break-on-failure-unittest.py')
-rwxr-xr-xgoogletest/test/googletest-break-on-failure-unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/googletest-break-on-failure-unittest.py b/googletest/test/googletest-break-on-failure-unittest.py
index 4eafba3..c5c0b15 100755
--- a/googletest/test/googletest-break-on-failure-unittest.py
+++ b/googletest/test/googletest-break-on-failure-unittest.py
@@ -135,7 +135,7 @@ class GTestBreakOnFailureUnitTest(gtest_test_utils.TestCase):
msg = ('when %s%s, an assertion failure in "%s" %s cause a seg-fault.' %
(BREAK_ON_FAILURE_ENV_VAR, env_var_value_msg, ' '.join(command),
should_or_not))
- self.assert_(has_seg_fault == expect_seg_fault, msg)
+ self.assertTrue(has_seg_fault == expect_seg_fault, msg)
def testDefaultBehavior(self):
"""Tests the behavior of the default mode."""