mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-17 01:51:39 +09:00
Add os.supports_* placeholders
This commit is contained in:
@@ -217,3 +217,8 @@ with TestWithTempDir() as tmpdir:
|
||||
os.chdir(tmpdir)
|
||||
assert os.getcwd() == tmpdir
|
||||
os.path.exists(FILE_NAME)
|
||||
|
||||
# supports
|
||||
assert isinstance(os.supports_fd, set)
|
||||
assert isinstance(os.supports_dir_fd, set)
|
||||
assert isinstance(os.supports_follow_symlinks, set)
|
||||
|
||||
Reference in New Issue
Block a user