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

10 lines
209 B
Python

# when name.py is run __name__ should equal to __main__
assert __name__ == "__main__"
from import_name import import_func
# __name__ should be set to import_func
import_func()
assert __name__ == "__main__"