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 2281d7f commit df664dfCopy full SHA for df664df
test/utils.jl
@@ -3,3 +3,11 @@
3
@test PythonCall.Utils.mimes_for(x) isa Vector{String}
4
end
5
6
+
7
+@testitem "StaticString length and indexing" begin
8
+ s = PythonCall.Utils.StaticString{UInt32, 44}("ababababb")
9
+ @test length(s) == 9
10
+ @test s[1] == 'a'
11
+ @test s[1:2] == "ab"
12
+ @test s[1:2:end] == "aaaab"
13
+end
0 commit comments