summaryrefslogtreecommitdiff
path: root/test/gtest_help_test.py
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-06-17 21:06:27 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-06-17 21:06:27 +0000
commit6d63ee6720540cadb8919037c5d41a6413cc9101 (patch)
tree1dd721d45ddd731134dda23f8368781979dc0b09 /test/gtest_help_test.py
parent16b967aa9c80cf8606c65d375865b77a6bcad255 (diff)
downloadgtest-6d63ee6720540cadb8919037c5d41a6413cc9101.tar.gz
gtest-6d63ee6720540cadb8919037c5d41a6413cc9101.tar.bz2
gtest-6d63ee6720540cadb8919037c5d41a6413cc9101.tar.xz
Implements a subset of TR1 tuple needed by gtest and gmock (by Zhanyong Wan); cleaned up the Python tests (by Vlad Losev); made run_tests.py invokable from any directory (by Vlad Losev).
git-svn-id: http://googletest.googlecode.com/svn/trunk@267 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'test/gtest_help_test.py')
-rwxr-xr-xtest/gtest_help_test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/gtest_help_test.py b/test/gtest_help_test.py
index d81f149..0a2a07b 100755
--- a/test/gtest_help_test.py
+++ b/test/gtest_help_test.py
@@ -39,10 +39,9 @@ SYNOPSIS
__author__ = 'wan@google.com (Zhanyong Wan)'
-import gtest_test_utils
import os
import re
-import unittest
+import gtest_test_utils
IS_WINDOWS = os.name == 'nt'
@@ -83,7 +82,7 @@ def RunWithFlag(flag):
return child.exit_code, child.output
-class GTestHelpTest(unittest.TestCase):
+class GTestHelpTest(gtest_test_utils.TestCase):
"""Tests the --help flag and its equivalent forms."""
def TestHelpFlag(self, flag):