Reference-to: https://github.com/tenacityteam/tenacity/pull/556 Signed-off-by: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>