File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 2
2
All notable changes to `dash` will be documented in this file.
3
3
This project adheres to [Semantic Versioning](https://semver.org/).
4
4
5
+ ## [UNRELEASED]
6
+
7
+ ### Fixed
8
+
9
+ - Fix [#2045](https://github.com/plotly/dash/issues/2045) import error when using pytest but `dash[testing]` is not installed.
10
+
5
11
## [2.4.0] - 2022-05-11
6
12
7
13
### Added
Original file line number Diff line number Diff line change 1
1
# pylint: disable=missing-docstring,redefined-outer-name
2
+ from typing import Any
3
+
2
4
import pytest
3
5
from .consts import SELENIUM_GRID_DEFAULT
4
6
13
15
from dash .testing .browser import Browser
14
16
from dash .testing .composite import DashComposite , DashRComposite , DashJuliaComposite
15
17
except ImportError :
16
- pass
18
+ # Running pytest without dash[testing] installed.
19
+ ThreadedRunner = Any
20
+ ProcessRunner = Any
21
+ RRunner = Any
22
+ JuliaRunner = Any
23
+ Browser = Any
24
+ DashComposite = Any
25
+ DashRComposite = Any
26
+ DashJuliaComposite = Any
17
27
18
28
19
29
def pytest_addoption (parser ):
You can’t perform that action at this time.
0 commit comments