diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-28 05:11:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-28 05:11:40 +0100 |
commit | 2099ff9b640e648be67527e29760263a7c6274e5 (patch) | |
tree | 238358af0ba45fd8fcc6cd4679736d6c4f07f851 /dev-python/pysimdjson/files/pysimdjson-5.0.2-tests.patch | |
parent | d198e0ebeee70707545d19ee3beb1de70802cc7c (diff) |
gentoo auto-resync : 28:04:2023 - 05:11:40
Diffstat (limited to 'dev-python/pysimdjson/files/pysimdjson-5.0.2-tests.patch')
-rw-r--r-- | dev-python/pysimdjson/files/pysimdjson-5.0.2-tests.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/pysimdjson/files/pysimdjson-5.0.2-tests.patch b/dev-python/pysimdjson/files/pysimdjson-5.0.2-tests.patch new file mode 100644 index 000000000000..a70143b134f6 --- /dev/null +++ b/dev-python/pysimdjson/files/pysimdjson-5.0.2-tests.patch @@ -0,0 +1,13 @@ +diff --git a/simdjson/csimdjson.pyx b/simdjson/csimdjson.pyx +index 57c5f35..91182fc 100644 +--- a/simdjson/csimdjson.pyx ++++ b/simdjson/csimdjson.pyx +@@ -480,7 +480,7 @@ cdef class Parser: + # a stride in the next step will cause a (potentially + # confusing) IndexError. This isn't a very good error message, + # but it's identical to the one simdjson would have raised. +- raise ValueError('Empty: no JSON found') ++ raise ValueError('EMPTY: no JSON found') + + return element_to_primitive( + self, |