Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8cb8a1 commit b96ef55Copy full SHA for b96ef55
1 file changed
Lib/test/libregrtest/main.py
@@ -1,5 +1,6 @@
1
import datetime
2
import faulthandler
3
+import locale
4
import os
5
import platform
6
import random
@@ -392,7 +393,10 @@ def run_tests(self):
392
393
"%s-endian" % sys.byteorder)
394
print("== ", "hash algorithm:", sys.hash_info.algorithm,
395
"64bit" if sys.maxsize > 2**32 else "32bit")
- print("== ", os.getcwd())
396
+ print("== cwd:", os.getcwd())
397
+ print("== encodings: locale=%s, FS=%s"
398
+ % (locale.getpreferredencoding(False),
399
+ sys.getfilesystemencoding()))
400
print("Testing with flags:", sys.flags)
401
402
if self.ns.randomize:
0 commit comments