File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
ci :
14
- uses : robotpy/build-actions/.github/workflows/package-pure.yml@v2023
14
+ uses : robotpy/build-actions/.github/workflows/package-pure.yml@v2024
15
15
secrets :
16
16
META_REPO_ACCESS_TOKEN : ${{ secrets.REPO_ACCESS_TOKEN }}
17
17
PYPI_API_TOKEN : ${{ secrets.PYPI_PASSWORD }}
Original file line number Diff line number Diff line change @@ -16,11 +16,6 @@ classifiers =
16
16
License :: OSI Approved :: BSD License
17
17
Operating System :: OS Independent
18
18
Programming Language :: Python :: 3 :: Only
19
- Programming Language :: Python :: 3.7
20
- Programming Language :: Python :: 3.8
21
- Programming Language :: Python :: 3.9
22
- Programming Language :: Python :: 3.10
23
- Programming Language :: Python :: 3.11
24
19
Topic :: Software Development
25
20
Topic :: Scientific/Engineering
26
21
@@ -29,8 +24,7 @@ zip_safe = False
29
24
include_package_data = True
30
25
packages = find:
31
26
install_requires =
32
- pyntcore>=2023.2.1.4
33
- wpilib>=2023.2.1,<2024
27
+ wpilib>=2024.0.0b2.post1,<2025
34
28
setup_requires =
35
29
setuptools_scm > 6
36
30
python_requires = >=3.7
Original file line number Diff line number Diff line change @@ -358,23 +358,25 @@ def test_mixup():
358
358
from robotpy_ext .autonomous import state as _ext_state
359
359
from robotpy_ext .autonomous import timed_state as _ext_timed_state
360
360
361
- with pytest .raises (RuntimeError ) as exc_info :
361
+ with pytest .raises (( RuntimeError , TypeError ) ) as exc_info :
362
362
363
363
class _SM1 (StateMachine ):
364
364
@_ext_state (first = True )
365
365
def the_state (self ):
366
366
pass
367
367
368
- assert isinstance (exc_info .value .__cause__ , TypeError )
368
+ if isinstance (exc_info .value , RuntimeError ):
369
+ assert isinstance (exc_info .value .__cause__ , TypeError )
369
370
370
- with pytest .raises (RuntimeError ) as exc_info :
371
+ with pytest .raises (( RuntimeError , TypeError ) ) as exc_info :
371
372
372
373
class _SM2 (StateMachine ):
373
374
@_ext_timed_state (first = True , duration = 1 )
374
375
def the_state (self ):
375
376
pass
376
377
377
- assert isinstance (exc_info .value .__cause__ , TypeError )
378
+ if isinstance (exc_info .value , RuntimeError ):
379
+ assert isinstance (exc_info .value .__cause__ , TypeError )
378
380
379
381
380
382
def test_forbidden_state_names ():
You can’t perform that action at this time.
0 commit comments