Files
Rex Ledesma 4e2e0b41c6 chore: add ruff format --check (#5774)
* chore: add `ruff format --check`

* fix tests
2025-05-12 14:20:01 +09:00

7 lines
155 B
Python

from testutils import assert_raises
assert hex(16) == "0x10"
assert hex(-16) == "-0x10"
assert_raises(TypeError, hex, {}, _msg="ord() called with dict")