File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ i = 1234567
2727@test fmt (1 // 2 + 6 // 2 * im, 15 ) == " 1//2 + 3//1*im"
2828
2929fmt_default! (Rational, ' f' , prec = 2 )
30- fmt_default! (Format . ComplexRational , ' f' , prec = 2 )
30+ fmt_default! (Complex{T} where T <: Rational , ' f' , prec = 2 )
3131
3232@test fmt (3 // 4 , 10 , 2 ) == " 0.75"
3333@test fmt (3 // 4 , 10 , 1 ) == " 0.8"
Original file line number Diff line number Diff line change 238238@testset " Format Symbols (S) for Irrationals" begin
239239 @test pyfmt (" >10s" , pi ) == " π"
240240 @test pyfmt (" 10s" , pi ) == " π "
241- @test pyfmt (" 3" , MathConstants. eulergamma) == " γ "
241+ @test pyfmt (" 3" , MathConstants. eulergamma) == " γ "
242242 @test pyfmt (" 10.2f" , MathConstants. eulergamma) == " 0.58"
243243 @test pyfmt (" <3s" , MathConstants. e) == " ℯ "
244244end
You can’t perform that action at this time.
0 commit comments