refactor: pull arch out into separate file

This commit is contained in:
Henry Schreiner
2021-01-22 13:02:51 -05:00
parent f5b84797e5
commit ff8f881098
6 changed files with 94 additions and 91 deletions
+2 -2
View File
@@ -89,9 +89,9 @@ def test_archs_argument(platform, intercepted_build_args, monkeypatch, use_env_v
monkeypatch.setattr(sys, 'argv', sys.argv + ['--archs', 'ppc64le'])
if platform in {'macos', 'windows'}:
with pytest.raises(SystemExit) as err:
with pytest.raises(SystemExit) as exit:
main()
assert err.value.args == (4,)
assert exit.value.args == (4,)
else:
main()