File: up_skip_wizard_hangingwx

package info (click to toggle)
psychopy 2020.2.10%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 44,056 kB
  • sloc: python: 119,649; javascript: 3,022; makefile: 148; sh: 125; xml: 9
file content (20 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/psychopy/tests/test_app/test_Wizard.py
+++ b/psychopy/tests/test_app/test_Wizard.py
@@ -28,11 +28,17 @@ class TestWizard(object):
             psychopy.tools.wizard.cardOkay = tmpcardOkay
 
     def test_firstrunWizard(self):
+        import wx
+        if int(wx.__version__.split('.')[0]) < 3:
+            pytest.skip("Known to hang: https://github.com/psychopy/psychopy/issues/724")
         con = ConfigWizard(firstrun=False, interactive=False, log=False)
         result = open(con.reportPath, 'rU').read()
         assert 'This page was auto-generated by the PsychoPy configuration wizard' in result
 
     def test_benchmarkWizard(self):
+        import wx
+        if int(wx.__version__.split('.')[0]) < 3:
+            pytest.skip("Known to hang: https://github.com/psychopy/psychopy/issues/724")
         ben = BenchmarkWizard(fullscr=False, interactive=False, log=False)
         result = open(ben.reportPath, 'rU').read()
         assert 'This page was auto-generated by the PsychoPy configuration wizard' in result