# HG changeset patch # User Paul Boddie # Date 1529673484 -7200 # Node ID d329acb71a6aca5023b85ebfd9cc5f4d58b3314a # Parent a4df5857763aa7c6d23ef1224c11f1a098c2b2f4 Obtain the distinct set of accessor kinds. Fixing this breaks invocations of identified static methods where the instance accessor should be tested but is not, such as in the keyword_args test. diff -r a4df5857763a -r d329acb71a6a deducer.py --- a/deducer.py Tue Jan 16 22:27:11 2018 +0100 +++ b/deducer.py Fri Jun 22 15:18:04 2018 +0200 @@ -2347,7 +2347,7 @@ accessor_types = self.reference_all_accessor_types[location] accessor_general_types = self.reference_all_accessor_general_types[location] - accessor_kinds = get_kinds(accessor_general_types) + accessor_kinds = set(get_kinds(accessor_general_types)) # Determine any guard or test requirements.