PSLmodels / Business-Taxation

USA Corporate and Pass-Through Business Tax Model
11 stars 10 forks source link

Deprecated test mark #97

Closed codykallen closed 5 years ago

codykallen commented 5 years ago

When running the tests, I receive the warnings

PytestUnknownMarkWarning: Unknown pytest.mark.requires_pufcsv - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html

It looks like something changed in taxcalc that has deprecated this. @martinholmer, do you know what needs to change for this?

martinholmer commented 5 years ago

@codykallen said:

It looks like something changed in taxcalc that has deprecated this.

Actually, this has nothing to do with Tax-Calculator. The warnings are produced by newer versions of pytest as explained in the URL you cited.

Tax-Calculator pull request 2335 eliminated these warnings by replacing setup.cfg with a new pytest.ini file that includes a markers list of custom pytest marks used in the Tax-Calculator pytest suite.

Making the analogous changes in the Business-Taxation repo should eliminate the pytest warnings.