bpo-44929: [Enum] Fix global repr (GH-27789)
* Fix typo in __repr__ code
* Add more tests for global int flag reprs
* use last module if multi-module string
- when an enum's `__module__` contains several module names, only
use the last one
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Ethan Furman <ethan@stoneleaf.us> P
Pablo Galindo Salgado committed
24da544014f78e6f1440d5ce5c2d14794a020340
Parent: a3c11ce
Committed by GitHub <noreply@github.com>
on 8/25/2021, 2:24:32 PM