test_pytypes.py
16.2 KB
-
Unify cast_error message thrown by [simple|unpacking]_collector (#3013) · c090c8c4
* Unify cast_error message thrown by [simple|unpacking]_collector simple_collector and unpacking_collector throw different error messages when the casting of an argument failed: While the former mentions make_tuple(), the latter emphasises the call argument (and its name/position). * Consolidating "Unable to convert call argument" error reporting code to guarantee uniformity. Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
Robert Haschke committed