Skip to content

Commit e825a1c

Browse files
committed
better platform test
1 parent 34a6ab8 commit e825a1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/tests/test_python_c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ def norm_func(X, n, nA, nB):
20532053
import platform
20542054

20552055
# only run if we're not running on macos
2056-
if platform.mac_ver() != ("", ("", "", ""), ""):
2056+
if platform.system() not in {"Linux", "Windows"}:
20572057
assert (ts_multi.get_num_sites(), ts_multi.get_num_sites()) == (56, 56)
20582058
assert a.shape == (56, 56, 1) # ts has 56 sites
20592059
a = ts_multi.two_locus_count_stat(

0 commit comments

Comments
 (0)