micropython-lib/unix-ffi/os/test_filestat.py

10 wiersze
207 B
Python

import os
dir = "."
if "/" in __file__:
dir = __file__.rsplit("/", 1)[0]
assert os.access(dir + "/test_filestat.py", os.F_OK) == True
assert os.access(dir + "/test_filestat.py-not", os.F_OK) == False