Skip to content

Commit

Permalink
Use sys.byteorder == "big"
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jan 8, 2020
1 parent f7892b2 commit 2317237
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tests/helper.py
Expand Up @@ -4,7 +4,6 @@

import logging
import os
import platform
import subprocess
import sys
import tempfile
Expand Down Expand Up @@ -350,7 +349,7 @@ def on_ci():


def is_big_endian():
return platform.processor() == "s390x"
return sys.byteorder == "big"


def is_win32():
Expand Down

0 comments on commit 2317237

Please sign in to comment.