Update poll tests to adhere to new types without modifying their logic.
Update poll tests to adhere to new types without modifying their logic.

jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab