Skip to content

Commit 9959bff

Browse files
committed
Reset NT on test teardown
1 parent 5b2105e commit 9959bff

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pyfrc/test_support/pytest_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ def robot(self):
124124
# to do this before so that the listeners are active on the current
125125
# NetworkTables instance
126126
nt_inst.stopLocal()
127+
nt_inst._reset()
127128

128129
# Cleanup WPILib globals
129130
# -> preferences, SmartDashboard, LiveWindow, MotorSafety

setup.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ install_requires =
3333
pint>=0.11.0
3434
importlib-metadata; python_version < '3.8'
3535

36-
robotpy-wpiutil>=2023.0.0b3.post1,<2024
37-
pyntcore>=2023.0.0b3,<2024
38-
robotpy-hal>=2023.0.0b3.post1,<2024
36+
robotpy-wpiutil>=2023.0.0b4,<2024
37+
pyntcore>=2023.0.0b4,<2024
38+
robotpy-hal>=2023.0.0b4,<2024
3939
wpilib>=2023.0.0b3,<2024
4040

4141
robotpy-installer>=2023.0.0b3,<2024
4242
setup_requires =
4343
setuptools_scm > 6
44-
python_requires = >=3.6
44+
python_requires = >=3.7
4545

4646
[options.entry_points]
4747
robotpy =

0 commit comments

Comments
 (0)