Description:
The unit test suite fails when running tests/test_adapt.py, specifically in the test_random test cases for both Format.TEXT and Format.BINARY.
pytest --durations=0 tests/test_adapt.py
Logs:
FAILED tests/test_adapt.py::test_random[Format.TEXT-b] - AssertionError: assert None == b''
FAILED tests/test_adapt.py::test_random[Format.BINARY-b] - AssertionError: assert None == b''
Actual output:
None
Expected output:
b''
Environment:
- OS: Huawei Cloud EulerOS 2.0
- Database: GaussDB