mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-17 01:51:39 +09:00
Merge branch 'move-fspath' of https://github.com/palaviv/RustPython into palaviv-move-fspath
This commit is contained in:
@@ -49,6 +49,10 @@ else:
|
||||
assert os.altsep == None
|
||||
assert os.pathsep == ":"
|
||||
|
||||
assert os.fspath("Testing") == "Testing"
|
||||
assert os.fspath(b"Testing") == b"Testing"
|
||||
assert_raises(TypeError, lambda: os.fspath([1,2,3]))
|
||||
|
||||
class TestWithTempDir():
|
||||
def __enter__(self):
|
||||
if os.name == "nt":
|
||||
|
||||
Reference in New Issue
Block a user