Skip to content

Commit ee5985d

Browse files
ChsudeeptaChsudeepta
authored andcommitted
bypass pyright
1 parent 18531ba commit ee5985d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_genie_waitfor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@ def test_GIVEN_waitfor_mevents_WHEN_waitfor_mevents_THEN_output(self):
8484
self.assertIsNot("", capturedoutput.getvalue())
8585

8686
def test_GIVEN_waitfor_block_WHEN_waitfor_block_integer_THEN_error_output(self):
87-
capturedoutput = StringIO()
88-
sys.stdout = capturedoutput
8987
# Exception condition
9088
with self.assertRaises(TypeError) as context:
89+
# pyright: ignore
9190
self.genie_waitfor.start_waiting(block=10)
9291
self.assertEqual(
9392
str(context.exception),

0 commit comments

Comments
 (0)