Show More
@@ -23,6 +23,6 b' def test_named_file_in_temporary_directory():' | |||||
23 | def test_temporary_working_directory(): |
|
23 | def test_temporary_working_directory(): | |
24 | with TemporaryWorkingDirectory() as dir: |
|
24 | with TemporaryWorkingDirectory() as dir: | |
25 | assert os.path.exists(dir) |
|
25 | assert os.path.exists(dir) | |
26 |
assert os.path. |
|
26 | assert os.path.realpath(os.curdir) == os.path.realpath(dir) | |
27 | assert not os.path.exists(dir) |
|
27 | assert not os.path.exists(dir) | |
28 | assert os.path.abspath(os.curdir) != dir |
|
28 | assert os.path.abspath(os.curdir) != dir |
General Comments 0
You need to be logged in to leave comments.
Login now