mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-17 01:51:39 +09:00
11 lines
139 B
Python
11 lines
139 B
Python
import os
|
|
|
|
assert os.open('README.md', 0) > 0
|
|
|
|
|
|
try:
|
|
os.open('DOES_NOT_EXIST', 0)
|
|
assert False
|
|
except FileNotFoundError:
|
|
pass
|