$OpenBSD$

Index: spyder/widgets/variableexplorer/tests/test_arrayeditor.py
--- spyder/widgets/variableexplorer/tests/test_arrayeditor.py.orig
+++ spyder/widgets/variableexplorer/tests/test_arrayeditor.py
@@ -206,7 +206,7 @@ def test_arraymodel_set_data_overflow(monkeypatch):
     monkeypatch.setattr(attr_to_patch, MockQMessageBox)
 
     # Numpy doesn't raise OverflowError on Linux for ints smaller than 64 bits
-    if platform.startswith('linux'):
+    if platform.startswith(('linux', 'openbsd')):
         int32_bit_exponent = 66
     else:
         int32_bit_exponent = 34
@@ -234,7 +234,7 @@ def test_arrayeditor_edit_overflow(qtbot, monkeypatch)
     monkeypatch.setattr(attr_to_patch, MockQMessageBox)
 
     # Numpy doesn't raise the OverflowError for ints smaller than 64 bits
-    if platform.startswith('linux'):
+    if platform.startswith(('linux', 'openbsd')):
         int32_bit_exponent = 66
     else:
         int32_bit_exponent = 34
