[Python-checkins] remove unused __version__ from mock.py (#17977)

Chris Withers webhook-mailer at python.org
Mon Jan 13 14:11:41 EST 2020

commit: 31d6de5aba009914efa8f0f3c3d7da35217578eb
branch: master
author: Chris Withers <chris at withers.org>
committer: GitHub <noreply at github.com>
date: 2020-01-13T19:11:34Z

remove unused __version__ from mock.py (#17977)

This isn't included in `__all__` and could be a source of confusion.

M Lib/unittest/mock.py

diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
index cd5a2aeb6084d..5622917dc3743 100644
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -23,8 +23,6 @@
-__version__ = '1.0'
 import asyncio
 import contextlib
 import io

More information about the Python-checkins mailing list