diff --git a/setup.py b/setup.py index 4455626c7d..297aada44b 100644 --- a/setup.py +++ b/setup.py @@ -91,7 +91,7 @@ "pre-commit", "pytest-cov>=5", "pytest-asyncio", - "pytest>=6.1.1,<8", + "pytest>=8,<9", "pandas", ], "blendsearch": ["flaml[blendsearch]"], diff --git a/test/test_browser_utils.py b/test/test_browser_utils.py index 73fd619940..f0642945ee 100755 --- a/test/test_browser_utils.py +++ b/test/test_browser_utils.py @@ -156,7 +156,7 @@ def test_simple_text_browser(): @pytest.mark.skipif( - skip_bing, + skip_all or skip_bing, reason="do not run bing tests if key is missing", ) def test_bing_search():