Skip to content
Snippets Groups Projects
Commit 328cd4ef authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Merge branch 'test/platform' into 'master'

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

See merge request fsl/fslpy!190
parents 8c832aad 221aa557
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
import os
import gc
import os.path as op
import sys
import shutil
......@@ -67,6 +68,8 @@ def test_haveGui():
@pytest.mark.wxtest
def test_wxatts():
gc.collect()
with mock.patch.dict('sys.modules', wx=None):
p = fslplatform.Platform()
assert not p.canHaveGui
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment