Commit a868643
committed
fix(test): Fix failure due to different uname.machine on linux vs darwin
PR #832 added a test case that relies on `platform.machine()` results.
The stdlib function returns different values on aarch64 for Darwin and
Linux. On Linux, it returns `aarch64`, on Darwin - `arm64`. It broke the
test suite for `aarch64-linux` users.
This patch makes the test case handle both values.
Note: the test will still fail on platforms other than x86_64 or
aarch64.1 parent d3ca6c0 commit a868643
1 file changed
+8
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
73 | 69 | | |
74 | 70 | | |
75 | 71 | | |
| |||
0 commit comments