Details
-
Bug
-
Resolution: Done
-
P4: Low
-
None
-
6.2.3
-
None
-
-
5080b2d025 (pyside/pyside-setup/dev) a9588af52c (pyside/pyside-setup/6.2) 096e36e304 (pyside/pyside-setup/6.3) a9588af52c (pyside/tqtc-pyside-setup/6.2) 096e36e304 (pyside/tqtc-pyside-setup/6.3) 5080b2d025 (pyside/tqtc-pyside-setup/dev)
Description
QTest.qWait is not available:
>>> from PySide6.QtTest import QTest >>> dir(QTest) ['Abort', 'AlignmentFaults', 'BitsPerSecond', 'BranchInstructions', 'BranchMisses', 'BusCycles', 'BytesAllocated', 'BytesPerSecond', 'CPUCycles', 'CPUMigrations', 'CPUTicks', 'CacheMisses', 'CachePrefetchMisses', 'CachePrefetches', 'CacheReadMisses', 'CacheReads', 'CacheReferences', 'CacheWriteMisses', 'CacheWrites', 'Click', 'ContextSwitches', 'Continue', 'EmulationFaults', 'Events', 'FramesPerSecond', 'InstructionReads', 'Instructions', 'KeyAction', 'MajorPageFaults', 'MinorPageFaults', 'MouseAction', 'MouseClick', 'MouseDClick', 'MouseMove', 'MousePress', 'MouseRelease', 'PageFaults', 'Press', 'QBenchmarkMetric', 'QTouchEventSequence', 'RefCPUCycles', 'Release', 'Shortcut', 'StalledCycles', 'TestFailMode', 'WalltimeMilliseconds', 'WalltimeNanoseconds', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'addColumnInternal', 'asciiToKey', 'compare_ptr_helper', 'compare_string_helper', 'createTouchDevice', 'currentAppName', 'currentDataTag', 'currentTestFailed', 'currentTestFunction', 'formatString', 'ignoreMessage', 'keyClick', 'keyClicks', 'keyEvent', 'keyPress', 'keyRelease', 'keySequence', 'keyToAscii', 'mouseClick', 'mouseDClick', 'mouseDoubleClickInterval', 'mouseEvent', 'mouseMove', 'mousePress', 'mouseRelease', 'qCleanup', 'qElementData', 'qExpectFail', 'qFindTestData', 'qGlobalData', 'qRun', 'qSkip', 'qWaitForWindowActive', 'qWaitForWindowExposed', 'sendKeyEvent', 'setBenchmarkResult', 'setMainSourcePath', 'simulateEvent', 'testObject', 'toPrettyCString', 'touchEvent'] >>> QTest.qWait Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: type object 'PySide6.QtTest.QTest' has no attribute 'qWait'