ValvePython / vdf

📜 Package for working with Valve's text and binary KeyValue format
https://pypi.org/project/vdf/
MIT License
167 stars 32 forks source link

tests: Try to use unittest.mock from the Python standard library #34

Closed smcv closed 3 years ago

smcv commented 3 years ago

Only fall back to the standalone mock module if the Python version is too old to have it in the standard library.

smcv commented 3 years ago

Yeah... This just be accompanied by a condition in dev_requirements.txt for the mock dependency. Like python_version < 3.4

Thanks, fixed.