Commit 221aa557 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: wx.GetApp() called through platform.haveGui) is returning an

old App object, and causing test to fail.
parent 8c832aad
......@@ -7,6 +7,7 @@
import os
import gc
import os.path as op
import sys
import shutil
......@@ -67,6 +68,8 @@ def test_haveGui():
def test_wxatts():
with mock.patch.dict('sys.modules', wx=None):
p = fslplatform.Platform()
assert not p.canHaveGui
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment