-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rejecting void method return types in tupleparser.
Details: - In the tupleparser, methods without type now cause ParseError to be raised (when checking for this), instead of ValueError (when failing to create a CIMMethod object from the parsed CIM-XML). This changes a programming error into a parsing error. - Enabled the corresponding tupleparse test case. - Improved the description of the return_type parameter for CIMMethod. Signed-off-by: Andreas Maier <maiera@de.ibm.com>
- Loading branch information
1 parent
2eadfa6
commit aad5d5a
Showing
4 changed files
with
19 additions
and
29 deletions.
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
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