eyad-hazem-elmorsy opened a new issue, #3540: URL: https://github.com/apache/fory/issues/3540
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/fory/issues) and found no similar issues. ### Version Fory: Latest main branch OS: Ubuntu 24.04.4 LTS Python: 3.12.3 ### Component(s) Python ### Minimal reproduce step The test `test_type_id` fails in `pyfory/format/tests/test_infer.py` ### What did you expect to see? No failing tests ### What did you see instead? ```bash ================================================ FAILURES ================================================ ______________________________________________ test_type_id ______________________________________________ def test_type_id(): assert pyfory.format.infer.get_type_id(str) == TypeId.STRING > assert pyfory.format.infer.get_type_id(datetime.date) == TypeId.DATE E AssertionError: assert 27 == 39 E + where 27 = <function get_type_id at 0x7c3151ae2480>(<class 'datetime.date'>) E + where <function get_type_id at 0x7c3151ae2480> = <module 'pyfory.format.infer' from '/home/eyad/GSoC/fory/python/pyfory/format/infer.py'>.get_type_id E + where <module 'pyfory.format.infer' from '/home/eyad/GSoC/fory/python/pyfory/format/infer.py'> = <module 'pyfory.format' from '/home/eyad/GSoC/fory/python/pyfory/format/__init__.py'>.infer E + where <module 'pyfory.format' from '/home/eyad/GSoC/fory/python/pyfory/format/__init__.py'> = pyfory.format E + and <class 'datetime.date'> = datetime.date E + and 39 = TypeId.DATE pyfory/format/tests/test_infer.py:95: AssertionError ``` ### Anything Else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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]
