2018-06-22 | Paul Boddie | raw files shortlog changelog graph | 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. | |
deducer.py (file) |
1.1 --- a/deducer.py Tue Jan 16 22:27:11 2018 +0100 1.2 +++ b/deducer.py Fri Jun 22 15:18:04 2018 +0200 1.3 @@ -2347,7 +2347,7 @@ 1.4 1.5 accessor_types = self.reference_all_accessor_types[location] 1.6 accessor_general_types = self.reference_all_accessor_general_types[location] 1.7 - accessor_kinds = get_kinds(accessor_general_types) 1.8 + accessor_kinds = set(get_kinds(accessor_general_types)) 1.9 1.10 # Determine any guard or test requirements. 1.11