Closed bkeryan closed 5 months ago
34 files ±0 34 suites ±0 47m 42s :stopwatch: + 2m 0s 2 248 tests ±0 1 910 :white_check_mark: ±0 338 :zzz: ±0 0 :x: ±0 39 690 runs ±0 34 134 :white_check_mark: ±0 5 556 :zzz: ±0 0 :x: ±0
Results for commit 07671a88. ± Comparison against base commit 5e0380b7.
What does this Pull Request accomplish?
reversed(...)
to reverse the bool array.int(bit)
to explicitly convert the NumPy array element to a Pythonint
, which prevents setting the sign bit with large ports and returning negative numbers.DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Why should this Pull Request be merged?
Fix issues I discovered when writing another test.
What testing has been done?
poetry run pytest -v .\tests\component\test_stream_readers_di.py
passes with LibraryInterpreter. (I don't currently have NI gRPC Device Server installed.)