Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 39c9a79

Browse filesBrowse files
committed
docs(CHANGES) Note test coverage updates
1 parent a02e05a commit 39c9a79
Copy full SHA for 39c9a79

File tree

Expand file treeCollapse file tree

1 file changed

+48
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+48
-0
lines changed

‎CHANGES

Copy file name to clipboardExpand all lines: CHANGES
+48Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,54 @@ $ pip install --user --upgrade --pre libtmux
1515

1616
- _Future release notes will be placed here_
1717

18+
### Breaking
19+
20+
#### Imports removed from libtmux.test (#580)
21+
22+
Root-level of imports from `libtmux.test` are no longer possible.
23+
24+
```python
25+
# Before 0.46.0
26+
from libtmux.test import namer
27+
```
28+
29+
```python
30+
# From 0.46.0 onward
31+
from libtmux.test.named import namer
32+
```
33+
34+
Same thing with constants:
35+
36+
```python
37+
# Before 0.46.0
38+
from libtmux.test import (
39+
RETRY_INTERVAL_SECONDS,
40+
RETRY_TIMEOUT_SECONDS,
41+
TEST_SESSION_PREFIX
42+
)
43+
```
44+
45+
```python
46+
# From 0.46.0 onward
47+
from libtmux.test.constants import (
48+
RETRY_INTERVAL_SECONDS,
49+
RETRY_TIMEOUT_SECONDS,
50+
TEST_SESSION_PREFIX
51+
)
52+
```
53+
54+
### Development
55+
56+
#### Test helpers: Increased coverage (#580)
57+
58+
Several improvements to the test helper modules:
59+
60+
- Enhanced `EnvironmentVarGuard` in `libtmux.test.environment` to better handle variable cleanup
61+
- Added comprehensive test suites for test constants and environment utilities
62+
- Improved docstrings and examples in `libtmux.test.random` with test coverage annotations
63+
- Fixed potential issues with environment variable handling during tests
64+
- Added proper coverage markers to exclude type checking blocks from coverage reports
65+
1866
## libtmux 0.45.0 (2025-02-23)
1967

2068
### Breaking Changes

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.