From 81bda736d8cd0dc565488b4f6158a1712323f976 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 28 Jul 2020 14:15:31 +0530 Subject: [PATCH] Skip multiprocessing spawn monkeypatch test on 32bit --- kitty_tests/tui.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kitty_tests/tui.py b/kitty_tests/tui.py index 2a989deb6..b79f8ffb8 100644 --- a/kitty_tests/tui.py +++ b/kitty_tests/tui.py @@ -3,8 +3,13 @@ # License: GPL v3 Copyright: 2018, Kovid Goyal +import sys +import unittest + from . import BaseTest +is32bit = sys.maxsize <= (1 << 32) + class TestTUI(BaseTest): @@ -43,6 +48,7 @@ class TestTUI(BaseTest): le.backspace() self.assertTrue(le.pending_bell) + @unittest.skipIf(is32bit, 'Fails for some unknown reason on 32bit builds') def test_multiprocessing_spawn(self): from kitty.multiprocessing import test_spawn test_spawn()