summaryrefslogtreecommitdiffstats
path: root/googletest/test/gtest_color_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/test/gtest_color_test.py')
-rwxr-xr-xgoogletest/test/gtest_color_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/googletest/test/gtest_color_test.py b/googletest/test/gtest_color_test.py
index d02a53e..49b8ed2 100755
--- a/googletest/test/gtest_color_test.py
+++ b/googletest/test/gtest_color_test.py
@@ -36,8 +36,7 @@ __author__ = 'wan@google.com (Zhanyong Wan)'
import os
import gtest_test_utils
-
-IS_WINDOWS = os.name = 'nt'
+IS_WINDOWS = os.name == 'nt'
COLOR_ENV_VAR = 'GTEST_COLOR'
COLOR_FLAG = 'gtest_color'