We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 617831d commit 97c32daCopy full SHA for 97c32da
integration_tests/CMakeLists.txt
@@ -519,6 +519,7 @@ RUN(NAME test_str_01 LABELS cpython llvm c)
519
RUN(NAME test_str_02 LABELS cpython llvm c)
520
RUN(NAME test_str_03 LABELS cpython llvm c)
521
RUN(NAME test_str_04 LABELS cpython llvm c wasm)
522
+RUN(NAME test_str_05 LABELS cpython llvm c)
523
RUN(NAME test_list_01 LABELS cpython llvm c)
524
RUN(NAME test_list_02 LABELS cpython llvm c)
525
RUN(NAME test_list_03 LABELS cpython llvm c NOFAST)
integration_tests/test_str_05.py
@@ -0,0 +1,8 @@
1
+def main0():
2
+ x: str
3
+ x = "Hello, World"
4
+ y: str
5
+ y = "o"
6
+ assert x.count(y) == 2
7
+
8
+main0()
0 commit comments