Repository navigation
Commit bf61f92
committed
fix: exclude Allure report writer from fake filesystem
Allure 2.16.1 introduced atomic report writes: io.open writes the
temporary file on the real filesystem, but pyfakefs intercepts
os.replace and searches the fake filesystem. Exclude the actual
Allure modules so both operations use the real filesystem.
Upstream: allure-framework/allure-python#924
Validation: Python 3.9.25, Allure 2.16.2, pyfakefs 5.6.0; full unit
suite with coverage and Allure enabled: 778 passed, 1 skipped.1 parent 5d78977 commit bf61f92
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments