We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18531ba commit ee5985dCopy full SHA for ee5985d
tests/test_genie_waitfor.py
@@ -84,10 +84,9 @@ def test_GIVEN_waitfor_mevents_WHEN_waitfor_mevents_THEN_output(self):
84
self.assertIsNot("", capturedoutput.getvalue())
85
86
def test_GIVEN_waitfor_block_WHEN_waitfor_block_integer_THEN_error_output(self):
87
- capturedoutput = StringIO()
88
- sys.stdout = capturedoutput
89
# Exception condition
90
with self.assertRaises(TypeError) as context:
+ # pyright: ignore
91
self.genie_waitfor.start_waiting(block=10)
92
self.assertEqual(
93
str(context.exception),
0 commit comments