summaryrefslogtreecommitdiffstats
path: root/googletest/test/gtest_json_test_utils.py
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-03-05 19:21:41 (GMT)
committerGennadiy Civil <misterg@google.com>2018-03-05 19:21:41 (GMT)
commit086825de5d5cd13ad9a71221edcce74363939981 (patch)
treea0bd3625b95dc21731202ff20049c41a3c6690ed /googletest/test/gtest_json_test_utils.py
parent731dbc4a7879b66a14e41c3fbb14101cb30865eb (diff)
downloadgoogletest-086825de5d5cd13ad9a71221edcce74363939981.zip
googletest-086825de5d5cd13ad9a71221edcce74363939981.tar.gz
googletest-086825de5d5cd13ad9a71221edcce74363939981.tar.bz2
Diffstat (limited to 'googletest/test/gtest_json_test_utils.py')
-rw-r--r--googletest/test/gtest_json_test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/gtest_json_test_utils.py b/googletest/test/gtest_json_test_utils.py
index 4ef5f6f..62bbfc2 100644
--- a/googletest/test/gtest_json_test_utils.py
+++ b/googletest/test/gtest_json_test_utils.py
@@ -44,7 +44,7 @@ def normalize(obj):
"""
def _normalize(key, value):
if key == 'time':
- return re.sub(r'^\d+(\.\d+)?s$', u'*', value)
+ return re.sub(r'^\d+(\.\d+)?s$', '*', value)
elif key == 'timestamp':
return re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$', '*', value)
elif key == 'failure':