disabled stability test (because it is expected to crash)
This commit is contained in:
parent
13cca1d9ca
commit
24c25b604a
@ -36,7 +36,8 @@ widgets = []
|
|||||||
items = []
|
items = []
|
||||||
allWidgets = weakref.WeakSet()
|
allWidgets = weakref.WeakSet()
|
||||||
|
|
||||||
def test_stability():
|
|
||||||
|
def crashtest():
|
||||||
global allWidgets
|
global allWidgets
|
||||||
try:
|
try:
|
||||||
gc.disable()
|
gc.disable()
|
||||||
@ -136,12 +137,12 @@ def processEvents():
|
|||||||
p('process events')
|
p('process events')
|
||||||
QTest.qWait(25)
|
QTest.qWait(25)
|
||||||
|
|
||||||
class TestException(Exception):
|
class TstException(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def raiseException():
|
def raiseException():
|
||||||
p('raise exception')
|
p('raise exception')
|
||||||
raise TestException("A test exception")
|
raise TstException("A test exception")
|
||||||
|
|
||||||
def addReference():
|
def addReference():
|
||||||
p('add reference')
|
p('add reference')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user