uber/doubles

Show diff of arguments when they don't match

Ouverte

#143 ouverte le 4 avr. 2019

 (4 commentaires) (0 réaction) (0 personne assignée)Python (18 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (164 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

It would be nice to know why arguments do not match when there's a single allowance, e.g.:

doubles.exceptions.UnallowedMethodCallError: Received unexpected call to '...' on <...>.  The supplied arguments (...) do not match allowance, missing key 'toaster' required in allowance.

Guide contributeur