-
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.
Fix TODO-OLD-PYTHON flagged changes for python 3.8.
Fix a number of issues documented as TODO-OLD-PYTHON in the pr (#3145) that set new minimum python version to 3.8. 1. Fix issue in cim_http.py, special code for Python < 3.6 by removing code. 2. mock/base_repository compatibleabstraceproperty. Remove the special function and apply the abstract definitions directly. 3. _recorder.py. Remove use of _longint. 4. _cim_http.py - remove test that was for python < 3.6 5. _cim_obj.py - Remove use of _longint 6. _cim_types - - Remove use of _longint. - Change text in _CIMComparisonMixin to reflect only python >= 3.8. - Remove external __str__ methods def for CIMInt and CIMFloat in favor of __str__ methods in the classes. 7. Change fixed Signature() definition to dynamic signatue(). Removes the fixed Signature definition for simplified_test_function and replaces it with signature() function that builds the signature. 8. tests/unittest/pywbem/test_cim_obj.py - change test to use int 9. mock tests - Change name of test to avoid duplicate test name and allow execution of just a single test with name *innvoke_method.
- Loading branch information
1 parent
89eccdf
commit 608d948
Showing
10 changed files
with
75 additions
and
138 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
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
Oops, something went wrong.