Show More
@@ -1085,7 +1085,7 b' def _format_time(timespan, precision=3):' | |||
|
1085 | 1085 | |
|
1086 | 1086 | |
|
1087 | 1087 | units = [u"s", u"ms",u'us',"ns"] # the save value |
|
1088 | if sys.stdout.encoding: | |
|
1088 | if hasattr(sys.stdout, 'encoding') and sys.stdout.encoding: | |
|
1089 | 1089 | try: |
|
1090 | 1090 | u'\xb5'.encode(sys.stdout.encoding) |
|
1091 | 1091 | units = [u"s", u"ms",u'\xb5s',"ns"] |
General Comments 0
You need to be logged in to leave comments.
Login now