Kattis / problemtools

Tools to manage problem packages using the Kattis problem package format.
MIT License
101 stars 70 forks source link

Fix missed init, add test case #256

Closed incaseoftrouble closed 3 months ago

incaseoftrouble commented 4 months ago

Hi,

I saw I missed one super().__init__, sorry! It is fixed now and I added a (shallow) test to check that initialization works.

This doesn't execute a full verifyproblem call (which I should have done before committing!) since pytest and os.fork apparently don't get along very well.

(Should program.py be migrated to a subprocess call instead? Setting limits can be done be done with preexec_fn)

Tagl commented 4 months ago

Like #255 this would close #254

SvartaHjarta commented 3 months ago

AUR package remains broken because of this, is there anything I can do to help this along?