summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/watchman/files')
-rw-r--r--dev-util/watchman/files/watchman-2024.11.04.00-python-tests.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-util/watchman/files/watchman-2024.11.04.00-python-tests.patch b/dev-util/watchman/files/watchman-2024.11.04.00-python-tests.patch
new file mode 100644
index 000000000000..dca4e34841d4
--- /dev/null
+++ b/dev-util/watchman/files/watchman-2024.11.04.00-python-tests.patch
@@ -0,0 +1,16 @@
+--- a/watchman/python/tests/tests.py
++++ b/watchman/python/tests/tests.py
+@@ -28,13 +28,6 @@ from pywatchman import (
+ )
+
+
+-if os.path.basename(bser.__file__) == "pybser.py":
+- raise Exception(
+- "bser module resolved to pybser! Something is broken in your build. __file__={!r}, sys.path={!r}".format(
+- bser.__file__, sys.path
+- )
+- )
+-
+ PILE_OF_POO = "\U0001F4A9"
+ NON_UTF8_STRING = b"\xff\xff\xff"
+