Skip to content

Commit 5e9336a

Browse files
committed
Use sys.byteorder == "big"
1 parent 9ef4615 commit 5e9336a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Tests/helper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import logging
66
import os
7-
import platform
87
import subprocess
98
import sys
109
import tempfile
@@ -350,7 +349,7 @@ def on_ci():
350349

351350

352351
def is_big_endian():
353-
return platform.processor() == "s390x"
352+
return sys.byteorder == "big"
354353

355354

356355
def is_win32():

0 commit comments

Comments
 (0)