python312Packages.protobuf3: fix tests
This commit is contained in:
parent
bc08c0d477
commit
9664cf9671
@ -45,6 +45,9 @@ buildPythonPackage {
|
||||
#
|
||||
postPatch = ''
|
||||
sed -i "/extra_compile_args.append('-std=c++14')/d" setup.py
|
||||
|
||||
substituteInPlace google/protobuf/internal/json_format_test.py \
|
||||
--replace-fail assertRaisesRegexp assertRaisesRegex
|
||||
'';
|
||||
|
||||
nativeBuildInputs = lib.optional isPyPy tzdata;
|
||||
|
Loading…
Reference in New Issue
Block a user