Byron Hsu
01/26/2023, 5:38 PMDavid Espejo (he/him)
01/26/2023, 6:38 PMGreg Gydush
01/26/2023, 9:27 PMpytest
in the terminal with the environment works, it should work for Vscode test discoveryE TypeError: Descriptors cannot not be created directly.
E If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
E If you cannot immediately regenerate your protos, some other possible workarounds are:
E 1. Downgrade the protobuf package to 3.20.x or lower.
E 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
Commenting out tensorflow/record/test_record.py
and tensorflow/record/test_transformations.py
resolved - but the test wizard is very slow with this many tests 😅David Espejo (he/him)
01/31/2023, 10:54 PMByron Hsu
02/01/2023, 7:47 AMpytest
+ pdb
is also easy to use and fasterDavid Espejo (he/him)
02/01/2023, 5:53 PMGreg Gydush
02/01/2023, 5:54 PM