mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Enable platform.platform
This commit is contained in:
1 parent
7202ad303d
commit
8baaa5d508
2 files changed
+4
-3
No files matched your search
Vendored
+2
@@ -171,6 +171,8 @@ def libc_ver(executable=None, lib='', version='', chunksize=16384):
|
||||
The file is read and scanned in chunks of chunksize bytes.
|
||||
|
||||
"""
|
||||
# TODO: fix RustPython
|
||||
return (lib, version)
|
||||
if executable is None:
|
||||
try:
|
||||
ver = os.confstr('CS_GNU_LIBC_VERSION')
|
||||
|
||||
@@ -428,9 +428,8 @@ class Regrtest:
|
||||
def display_header(self):
|
||||
# Print basic platform information
|
||||
print("==", platform.python_implementation(), *sys.version.split())
|
||||
# TODO: Add platform.platform
|
||||
# print("==", platform.platform(aliased=True),
|
||||
# "%s-endian" % sys.byteorder)
|
||||
print("==", platform.platform(aliased=True),
|
||||
"%s-endian" % sys.byteorder)
|
||||
print("== cwd:", os.getcwd())
|
||||
cpu_count = os.cpu_count()
|
||||
if cpu_count:
|
||||
|
||||
Reference in new issue
Block a user