martinlackner / abcvoting

Python implementations of approval-based committee (multi-winner) voting rules
https://abcvoting.readthedocs.io/
MIT License
32 stars 16 forks source link

Make output unit tests more robust #43

Closed lumbric closed 3 years ago

lumbric commented 3 years ago

Turns out that Gurobi prints an additional warning before the license expires. This has to be filtered too before running assert statements. Since multiple dashes are used elsewhere too (which should not be removed) and we do need to filter also new line characters, all filters were changed to use regex replacement.