- Fix atexit registration which was never done - Using standard mock library for tests if available
2.2.3
-----
- Fix double close race condition (22) - Add register_atexit parameter (default to True) - Avoid registering atexit callback multiple times
2.2.2
-----
- PR 21 improve test for container style environment like FreeBSD jails / docker containers / etc which do not expose or allow `os.kill` for the test pids.
2.2.1
-----
- Fix packaging issues - Update tests and support for Python 3.6 and 3.7 - Drop tests support for Python 2.6 and Python 3.3
2.2.0
-----
- Fix for allow_samepid=True check pid when same pid is allowed and file is locked. - Update to README example