@@ -855,7 +855,7 @@ def test_interrupt_signals(self) -> None:
855
855
result .refresh ()
856
856
self .assertEqual (result .status , ResultStatus .RUNNING )
857
857
858
- os .kill (process .pid , sig )
858
+ os .kill (process .pid , sig ) # type:ignore[arg-type]
859
859
860
860
process .join (timeout = 1 )
861
861
@@ -879,14 +879,14 @@ def test_repeat_ctrl_c(self) -> None:
879
879
result .refresh ()
880
880
self .assertEqual (result .status , ResultStatus .RUNNING )
881
881
882
- os .kill (process .pid , signal .SIGINT )
882
+ os .kill (process .pid , signal .SIGINT ) # type:ignore[arg-type]
883
883
time .sleep (0.01 )
884
884
885
885
self .assertTrue (process .is_alive ())
886
886
result .refresh ()
887
887
self .assertEqual (result .status , ResultStatus .RUNNING )
888
888
889
- os .kill (process .pid , signal .SIGINT )
889
+ os .kill (process .pid , signal .SIGINT ) # type:ignore[arg-type]
890
890
891
891
process .join (timeout = 2 )
892
892
@@ -946,7 +946,7 @@ def test_keyboard_interrupt_task(self) -> None:
946
946
self .assertIsInstance (result .result , SystemExit )
947
947
948
948
@skipIf (connection .vendor != "sqlite" , "SQLite only for now" )
949
- def test_multiple_workers (self ):
949
+ def test_multiple_workers (self ) -> None :
950
950
results = [test_tasks .noop_task .enqueue () for _ in range (10 )]
951
951
952
952
with tempfile .TemporaryFile (mode = "w+" ) as output :
0 commit comments