dep-protobuf/python/pb_unit_tests/README.md
Adam Cozzette 501ececd39 Reorganize upb file structure
This change moves almost everything in the `upb/` directory up one level, so
that for example `upb/upb/generated_code_support.h` becomes just
`upb/generated_code_support.h`. The only exceptions I made to this were that I
left `upb/cmake` and `upb/BUILD` where they are, mostly because that avoids
conflict with other files and the current locations seem reasonable for now.

The `python/` directory is a little bit of a challenge because we had to merge
the existing directory there with `upb/python/`. I made `upb/python/BUILD` into
the BUILD file for the merged directory, and it effectively loads the contents
of the other BUILD file via `python/build_targets.bzl`, but I plan to clean
this up soon.

PiperOrigin-RevId: 568651768
2023-09-26 14:38:35 -07:00

517 B

Protobuf Unit Tests

This directory contains wrappers around the Python unit tests defined in the protobuf repo. Python+upb is intended to be a drop-in replacement for protobuf Python, so we should be able to pass the same set of unit tests.

Our wrappers contain exclusion lists for tests we know we are not currently passing. Ideally these exclusion lists will become empty once Python+upb is fully implemented. However there may be a few edge cases that we decide are not worth matching with perfect parity.