Skip to content

Commit

Permalink
skip tests for pkgeval
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Nov 19, 2022
1 parent b4c2ab9 commit 0775747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backends/pyplot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ function _before_layout_calcs(plt::Plot{PyPlotBackend})
pyaxis."grid"(false)
end

if !no_minor_ticks(axis) && axis[:minorticks] <: Integer
if !no_minor_ticks(axis) && typeof(axis[:minorticks]) <: Integer
pyaxis."set_minor_locator"(
# NOTE: AutoMinorLocator expects a number of intervals == number of ticks + 1
PyPlot.matplotlib.ticker.AutoMinorLocator(axis[:minorticks] + 1),
Expand Down
2 changes: 1 addition & 1 deletion test/test_backends.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ end
end

@testset "Examples" begin
if Sys.islinux()
if Sys.islinux() && get(ENV, "JULIA_PKGEVAL", "false") == "false" # NOTE: for `PkgEval` timeout
callback(m, pkgname, i) = begin
pl = m.Plots.current()
save_func = (; pgfplotsx = m.Plots.pdf, unicodeplots = m.Plots.txt) # fastest `savefig` for each backend
Expand Down

0 comments on commit 0775747

Please sign in to comment.