Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ingest the tests from CPython #3

Merged
merged 23 commits into from
Apr 16, 2024
Merged

Ingest the tests from CPython #3

merged 23 commits into from
Apr 16, 2024

Conversation

jaraco
Copy link
Owner

@jaraco jaraco commented Apr 16, 2024

Closes #2

  • Add test_tarfile from Python 3.12.2.
  • Add test fixtures from Python 3.12.2
  • Override support.findfile to find resources here.
  • Explicitly invoke setUpModule/tearDownModule as workaround for setUpModule/tearDownModule not invoked pytest-dev/pytest#12219.
  • Restore Python 3.8 compatibility in with expression.
  • Use findfile in modules_missing test.
  • Ensure backport is used when test_tarfile imports tarfile.
  • Backport the archiver_tests.
  • Add compatibility shims for os_helper and support.
  • Add compatibility shims for catch_warnings.
  • Make tests and compat packages
  • Add Python 3.9 shims for os_helper migration.
  • Add shim for check__all__ compatibility.
  • Add shims for Python 3.8 support and warnings modules.
  • Add shim for Random.randbytes.
  • Add shims for removeprefix and removesuffix.
  • Make tarfile a package so it can hold more.
  • Add compatibility shim for removesuffix.
  • Exclude compat packages from coverage.

@jaraco jaraco force-pushed the experiment/tests branch from 30bead4 to 14c34d1 Compare April 16, 2024 11:21
@jaraco jaraco merged commit aaabea4 into main Apr 16, 2024
5 checks passed
@jaraco jaraco deleted the experiment/tests branch April 16, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tests?
2 participants