()
| 145 | |
| 146 | |
| 147 | def test_workdir(): |
| 148 | fn = "test_work_dir" |
| 149 | os.makedirs(fn) |
| 150 | try: |
| 151 | assert fn not in os.getcwd() |
| 152 | with working_dir(fn): |
| 153 | assert fn in os.getcwd() |
| 154 | assert fn not in os.getcwd() |
| 155 | finally: |
| 156 | if os.path.isdir(fn): |
| 157 | os.rmdir(fn) |
nothing calls this directly
no test coverage detected
searching dependent graphs…