Skip to content

Commit

Permalink
Reset NT on test teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Nov 22, 2022
1 parent 5b2105e commit 9959bff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions pyfrc/test_support/pytest_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def robot(self):
# to do this before so that the listeners are active on the current
# NetworkTables instance
nt_inst.stopLocal()
nt_inst._reset()

# Cleanup WPILib globals
# -> preferences, SmartDashboard, LiveWindow, MotorSafety
Expand Down
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ install_requires =
pint>=0.11.0
importlib-metadata; python_version < '3.8'

robotpy-wpiutil>=2023.0.0b3.post1,<2024
pyntcore>=2023.0.0b3,<2024
robotpy-hal>=2023.0.0b3.post1,<2024
robotpy-wpiutil>=2023.0.0b4,<2024
pyntcore>=2023.0.0b4,<2024
robotpy-hal>=2023.0.0b4,<2024
wpilib>=2023.0.0b3,<2024

robotpy-installer>=2023.0.0b3,<2024
setup_requires =
setuptools_scm > 6
python_requires = >=3.6
python_requires = >=3.7

[options.entry_points]
robotpy =
Expand Down

0 comments on commit 9959bff

Please sign in to comment.