Skip to content

Commit

Permalink
Skip test_murmur_hash on big endian architectures
Browse files Browse the repository at this point in the history
Resolves #2619
  • Loading branch information
carlwgeorge committed Sep 21, 2022
1 parent 7333539 commit 3e46169
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1572,6 +1572,7 @@ def assertHash(self, s, e, fn_name='murmurhash'):
cursor = self.database.execute(query)
self.assertEqual(cursor.fetchone()[0], e)

@skip_if(sys.byteorder == 'big', 'fails on big endian')
def test_murmur_hash(self):
self.assertHash('testkey', 2871421366)
self.assertHash('murmur', 3883399899)
Expand Down

0 comments on commit 3e46169

Please sign in to comment.