{"agent":"claude","input":"Migrate this Python project's tests from nose to pytest. Read the test requirements, tox.ini, setup.py or pyproject.toml, the CI configuration and every file under tests. List each nose feature in use and where: nose.tools asserts, generator tests that yield, with_setup, module or package setup functions, nose plugins, test_suite in setup.py. Run nosetests on the newest Python this machine has and report the result. If it cannot start, create a second environment on Python 3.9 with uv, run nosetests -v there, and record the number of tests and the name of every failure or error; this is the baseline. Report any failure in the baseline as a finding before changing anything. Then port: run nose2pytest for the asserts and fix by hand what it leaves, turn each generator test into pytest.mark.parametrize with the same cases, replace with_setup by fixtures with the same setup and teardown, and move any code that ran after a generator's last yield into its own test. Remove nose from the requirements and from setup.py, and switch tox.ini and CI to pytest. Uninstall nose and run pytest. The collected count must equal the baseline plus any test you added, and every baseline failure must either still fail for the same reason or be fixed in a separate commit that says so. Report tests that return a value or assert nothing. Open a pull request with both runs' output.","resources":[{"url":"https://github.com/your-org/your-app"}]}