Skip to content
File

Blob: src/workerd/server/tests/python/pytest/tests/test_fs.py

python9 lines
1import os
2from pathlib import Path
3 
4 
5def test_seek_metadata_fs():
6 fh = Path(__file__).open()
7 print(fh.fileno())
8 print(f"This file is {os.lseek(fh.fileno(), 0, os.SEEK_END)} characters long")