diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-06-13 11:32:31 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2017-06-13 11:32:31 (GMT) |
commit | 023564bf7d95f8e6a4b790491811e75ce497a071 (patch) | |
tree | c1c7d8349fdf8dd7526b2562ef23e2674f56e693 /Python/importlib_external.h | |
parent | eb52ac89929bb09b15c014ab8ff60eee685e86c7 (diff) | |
download | cpython-023564bf7d95f8e6a4b790491811e75ce497a071.zip cpython-023564bf7d95f8e6a4b790491811e75ce497a071.tar.gz cpython-023564bf7d95f8e6a4b790491811e75ce497a071.tar.bz2 |
bpo-30635: Fix refleak in test_c_locale_coercion (#2126)
When checking for reference leaks, test_c_locale_coercion is run
multiple times and so _LocaleCoercionTargetsTestCase.setUpClass() is
called multiple times. setUpClass() appends new value at each call,
so it looks like a reference leak.
Moving the setup from setUpClass() to setUpModule() avoids
this, eliminating the false alarm.
Diffstat (limited to 'Python/importlib_external.h')
0 files changed, 0 insertions, 0 deletions