-
```rust
pub mod a {
pub enum Context {
A(i32),
B(i32)
}
pub fn f () -> Context {super::b::h()}
impl Context {
pub fn test (x: Option) -> Option {
x.…
-
You can "cheese" enums3 by putting the test's desired values in the match statements:
```
match message {
Message::Resize { width, height } => self.resize(10, 30),
Mes…
-
**Describe the bug**
Avocado uses `TestInterrupt` exceptions for interrupting tests on timeouts. Unfortunately, users might change this behaviour if they will add exception handling for `Exception` c…
-
A suggestion: why not replacing `flake8` and others pre-commit hooks (like `isort`, `pyupgrade`) with Ruff, which can do almost everything? Including a slightly better formatting than Black.
Resour…
-
I'm unable to fetch or filter on the trackers field with rtcontrol, using the current version of pyrosimple against the current master branches of (vanilla) rtorrent/libtorrent.
```
(test_venv) us…
-
# SVG lines are missing and the entire area is filled
## issue description
Unable to display the lines in Svg properly, it seems that the entire Svg is completely filled.
Some SVG cannot be displ…
-
Shortly after midnight, Github Actions fails the testing-workflow here:
```
=================================== FAILURES ===================================
______________________ TestShareOwnerLis…
-
Setting `PASSWORD_DURATION_SECONDS` to a large value gives an overflow error.
```python
# settings.py
# 23992800719976 seconds
PASSWORD_DURATION_SECONDS = 24 * 9999**3
```
```
Traceback (most…
-
### LeetCode Username
saakethkoka
### Problem Number, Title, and Link
364. Nested List Weight Sum II https://leetcode.com/problems/nested-list-weight-sum-ii/description/
### Bug Category
Incorrec…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Problem description
Found while investigating various issues in #16634; this is a simplification of a problem …