Skip to content

Commit a4658c9

Browse files
committed
docs(MIGRATION) Note libtmux.test import fix
1 parent 39c9a79 commit a4658c9

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

MIGRATION

+34
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,40 @@ _Detailed migration steps for the next version will be posted here._
2525

2626
<!-- To the maintainers and contributors: please add migration details for the upcoming release here -->
2727

28+
#### Imports removed from libtmux.test (#580)
29+
30+
Root-level of imports from `libtmux.test` are no longer possible.
31+
32+
```python
33+
# Before 0.46.0
34+
from libtmux.test import namer
35+
```
36+
37+
```python
38+
# From 0.46.0 onward
39+
from libtmux.test.named import namer
40+
```
41+
42+
Same thing with constants:
43+
44+
```python
45+
# Before 0.46.0
46+
from libtmux.test import (
47+
RETRY_INTERVAL_SECONDS,
48+
RETRY_TIMEOUT_SECONDS,
49+
TEST_SESSION_PREFIX
50+
)
51+
```
52+
53+
```python
54+
# From 0.46.0 onward
55+
from libtmux.test.constants import (
56+
RETRY_INTERVAL_SECONDS,
57+
RETRY_TIMEOUT_SECONDS,
58+
TEST_SESSION_PREFIX
59+
)
60+
```
61+
2862
## libtmux 0.45.0 (2025-02-23)
2963

3064
### Test helpers: Module moves

0 commit comments

Comments
 (0)