-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PyCOMPS_fromxml_str
: fix a crash on valid xml but no comps input
On input such as: `<whatever />` there is no `comps_doc` created -> create it to make sure we don't crash. This unifies the behavior with `PyCOMPS_fromxml_f`. Also adds a unit test.
- Loading branch information
1 parent
a5321b3
commit 62c69d8
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters