python-xlib
python-xlib copied to clipboard
test: use unittest.mock when available
The mock module is no longer required in Python 3.3 as unittest now has a mock module. This patch keeps older versions of Python compatible.
Codecov Report
Merging #252 (073fa20) into master (333fbcb) will not change coverage. The diff coverage is
n/a.
Additional details and impacted files
@@ Coverage Diff @@
## master #252 +/- ##
=======================================
Coverage 78.25% 78.25%
=======================================
Files 42 42
Lines 4710 4710
=======================================
Hits 3686 3686
Misses 1024 1024
ping