-
Type:
Technical Debt
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
StorEng - Defined Pipeline
-
3
By setting the PYTHONDEVMODE env flag we can run python in development mode which will enable multiple warnings including deprecation warnings.
Using development mode on our python tests with
PYTHONDEVMODE=1 python3 test/suite/run.py -j $(nproc)
results in a handful of warnings including:
DeprecationWarning: isSet() is deprecated, use is_set() instead while not self.done.isSet():
and
DeprecationWarning: Please use assertEqual instead. self.assertEquals(cursor.next(), wiredtiger.WT_NOTFOUND)
We should fix these warnings such that running the command listed above doesn't yield any output.