From 35cfaa176386634e8b55433925fb12afc5a050f9 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Wed, 10 Oct 2018 12:53:50 +0100
Subject: [PATCH] TEST: isWidgetAlive no longer exists

---
 tests/test_platform.py | 30 ------------------------------
 1 file changed, 30 deletions(-)

diff --git a/tests/test_platform.py b/tests/test_platform.py
index 4531f7534..67aefe094 100644
--- a/tests/test_platform.py
+++ b/tests/test_platform.py
@@ -208,33 +208,3 @@ def test_detect_ssh():
         p = fslplatform.Platform()
         assert not p.inSSHSession
         assert not p.inVNCSession
-
-
-@pytest.mark.wxtest
-def test_IsWidgetAlive():
-
-    import wx
-
-    passed = [False]
-    app    = wx.App()
-    frame  = wx.Frame(None)
-    btn    = wx.Button(frame)
-    frame.Show()
-
-    def runtest():
-
-        try:
-
-            passed[0] = fslplatform.isWidgetAlive(btn)
-
-            btn.Destroy()
-
-            passed[0] = passed[0] and (not fslplatform.isWidgetAlive(btn))
-        finally:
-            frame.Destroy()
-            app.ExitMainLoop()
-
-    wx.CallLater(500, runtest)
-    app.MainLoop()
-
-    assert passed[0]
-- 
GitLab