Commit 8728273
committed
fix: define dummy values when Rust extension unavailable
Without defining rust_dicttoxml, escape_xml_py, and wrap_cdata_py
when ImportError occurs, the test module fails to import entirely,
resulting in "collected 0 items" instead of properly skipped tests.1 parent 9564a83 commit 8728273
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
0 commit comments