Skip to content

Commit

Permalink
disable long callback tests on 3.11 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert-coef committed Feb 6, 2024
1 parent 5587285 commit ddf7a1b
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
@flaky(max_runs=3)
def test_lcbc001_fast_input(dash_duo, manager):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
@flaky(max_runs=3)
def test_lcbc002_long_callback_running(dash_duo, manager):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
@flaky(max_runs=3)
def test_lcbc003_long_callback_running_cancel(dash_duo, manager):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
@flaky(max_runs=3)
def test_lcbc004_long_callback_progress(dash_duo, manager):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
@pytest.mark.skip(reason="Timeout often")
def test_lcbc005_long_callback_caching(dash_duo, manager):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
@flaky(max_runs=3)
def test_lcbc006_long_callback_caching_multi(dash_duo, manager):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
@flaky(max_runs=3)
def test_lcbc007_validation_layout(dash_duo, manager):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
def test_lcbc008_long_callbacks_error(dash_duo, manager):
with setup_long_callback_app(manager, "app_error") as app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
def test_lcbc009_short_interval(dash_duo, manager):
with setup_long_callback_app(manager, "app_short_interval") as app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
def test_lcbc010_side_updates(dash_duo, manager):
with setup_long_callback_app(manager, "app_side_update") as app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
def test_lcbc011_long_pattern_matching(dash_duo, manager):
with setup_long_callback_app(manager, "app_pattern_matching") as app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
def test_lcbc012_long_callback_ctx(dash_duo, manager):
with setup_long_callback_app(manager, "app_callback_ctx") as app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
def test_lcbc013_unordered_state_input(dash_duo, manager):
with setup_long_callback_app(manager, "app_unordered") as app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
def test_lcbc014_progress_delete(dash_duo, manager):
with setup_long_callback_app(manager, "app_progress_delete") as app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
def test_lcbc015_diff_outputs_same_func(dash_duo, manager):
with setup_long_callback_app(manager, "app_diff_outputs") as app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@


@pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
sys.version_info >= (3, 11),
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
)
def test_lcbc016_multi_page_cancel(dash_duo, manager):
with setup_long_callback_app(manager, "app_page_cancel") as app:
Expand Down

0 comments on commit ddf7a1b

Please sign in to comment.