aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pyre2/py3/tests/test_pattern.txt
diff options
context:
space:
mode:
authorvitalyisaev <vitalyisaev@ydb.tech>2023-11-30 13:26:22 +0300
committervitalyisaev <vitalyisaev@ydb.tech>2023-11-30 15:44:45 +0300
commit0a98fece5a9b54f16afeb3a94b3eb3105e9c3962 (patch)
tree291d72dbd7e9865399f668c84d11ed86fb190bbf /contrib/python/pyre2/py3/tests/test_pattern.txt
parentcb2c8d75065e5b3c47094067cb4aa407d4813298 (diff)
downloadydb-0a98fece5a9b54f16afeb3a94b3eb3105e9c3962.tar.gz
YQ Connector:Use docker-compose in integrational tests
Diffstat (limited to 'contrib/python/pyre2/py3/tests/test_pattern.txt')
-rw-r--r--contrib/python/pyre2/py3/tests/test_pattern.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/python/pyre2/py3/tests/test_pattern.txt b/contrib/python/pyre2/py3/tests/test_pattern.txt
new file mode 100644
index 0000000000..aab47359a2
--- /dev/null
+++ b/contrib/python/pyre2/py3/tests/test_pattern.txt
@@ -0,0 +1,12 @@
+pattern tests
+=============
+
+ >>> import re2
+ >>> re2.set_fallback_notification(re2.FALLBACK_EXCEPTION)
+
+We should be able to get back what we put in.
+
+ >>> re2.compile("(foo|b[a]r?)").pattern
+ '(foo|b[a]r?)'
+
+ >>> re2.set_fallback_notification(re2.FALLBACK_QUIETLY)