def pytest_runtest_teardown(): import networktables networktables.NetworkTables.shutdown() from wpilib import SmartDashboard SmartDashboard._reset()