esafak opened a new pull request, #2396:
URL: https://github.com/apache/fory/pull/2396
I was encountering this warning in tests:
```
pyfory/tests/core.py:27
/workspace/python/pyfory/tests/core.py:27: PytestUnknownMarkWarning:
Unknown pytest.mark.fory_format - is this a typo? You can register custom
marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/how-to/mark.html
func = pytest.mark.fory_format(func)
```
`fory_format` is not currently defined so I decided to remove it.
## What does this PR do?
* Rewrote the skip condition logic for pyarrow tests.
* The previous logic was a bit verbose and could be simplified.
* The new implementation directly checks if pyarrow is not installed or
lacks the necessary attribute.
## Does this PR introduce any user-facing change?
No
## Benchmark
N/A
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]