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 25afdc2 commit 4d96857Copy full SHA for 4d96857
pyfrc/test_support/pytest_plugin.py
@@ -1,6 +1,7 @@
1
import gc
2
import pathlib
3
-import typing
+
4
+from typing import Type
5
6
import pytest
7
import weakref
@@ -29,7 +30,7 @@ class PyFrcPlugin:
29
30
be passed to your test function.
31
"""
32
- def __init__(self, robot_class: type[wpilib.RobotBase], robot_file: pathlib.Path):
33
+ def __init__(self, robot_class: Type[wpilib.RobotBase], robot_file: pathlib.Path):
34
35
# attach physics
36
physics, robot_class = PhysicsInterface._create_and_attach(
0 commit comments