From: Berker Peksag Date: Fri, 29 Apr 2016 14:25:51 +0000 (+0300) Subject: Issue #25551: Test condition behavior instead of its internals X-Git-Tag: v3.6.0a1~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd745cc3ff853fd5b641c035a860f0ac84f2b401;p=thirdparty%2FPython%2Fcpython.git Issue #25551: Test condition behavior instead of its internals test_reset_internal_locks was looking at Event's _cond._lock. This makes it harder to change internals of the Condition object and makes the test fragile. The test was added by Nir Soffer in 6108d30dde21. Patch by Nir Soffer. --- dd745cc3ff853fd5b641c035a860f0ac84f2b401