File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3
3
"""
4
4
5
5
import copy
6
+ import platform
6
7
import sys
7
8
from pathlib import Path
8
9
from tempfile import TemporaryDirectory
@@ -270,7 +271,7 @@ def test_x2sys_cross_region_interpolation_numpoints():
270
271
)
271
272
272
273
assert isinstance (output , pd .DataFrame )
273
- if sys . platform == "darwin " :
274
+ if platform . machine () == "arm64 " :
274
275
assert output .shape == (3894 , 12 )
275
276
# Check crossover errors (z_X) and mean value of observables (z_M)
276
277
npt .assert_allclose (output .z_X .mean (), - 138.23215 , rtol = 1e-4 )
@@ -298,7 +299,7 @@ def test_x2sys_cross_trackvalues():
298
299
output = x2sys_cross (tracks = ["@tut_ship.xyz" ], tag = tag , trackvalues = True )
299
300
300
301
assert isinstance (output , pd .DataFrame )
301
- if sys . platform == "darwin " :
302
+ if platform . machine () == "arm64 " :
302
303
assert output .shape == (14374 , 12 )
303
304
# Check mean of track 1 values (z_1) and track 2 values (z_2)
304
305
npt .assert_allclose (output .z_1 .mean (), - 2422.973372 , rtol = 1e-4 )
You can’t perform that action at this time.
0 commit comments