mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Merge pull request #1723 from palaviv/missing-assert
Add missing assert in stdlib_os snippet
This commit is contained in:
@@ -265,7 +265,7 @@ with TestWithTempDir() as tmpdir:
|
||||
with TestWithTempCurrentDir():
|
||||
os.chdir(tmpdir)
|
||||
assert os.getcwd() == os.path.realpath(tmpdir)
|
||||
os.path.exists(FILE_NAME)
|
||||
assert os.path.exists(FILE_NAME)
|
||||
|
||||
# supports
|
||||
assert isinstance(os.supports_fd, set)
|
||||
|
||||
Reference in New Issue
Block a user