Jean-Paul Calderone

Results 134 issues of Jean-Paul Calderone

**Describe the incorrect behavior you saw** ``` [exarkun@magnon:~]$ python -m twisted.trial -j1 Running 0 tests. ------------------------------------------------------------------------------- PASSED ``` The process does not exit here, though, it just hangs until interrupted...

bug

## Scope and purpose Fixes #11649 This is kind of a hack. It's the hack I've used in other projects with trial-based test suites. Sometime soon I would like to...

Hypothesis has a notion of "profiles". These are named bags of global state which control certain behavior of Hypothesis process-wide. For example, a profile specifies whether all tests Hypothesis runs...

`twisted.trial._dist.functional.compose` tries to describe the function it builds by using `functools.wraps` twice. However, the second use just clobbers everything set by the first use. Instead, `compose` could synthesize some better...

In the fix for #10314 we introduced a new dependency on Hypothesis. In [discussion on the mailing list](https://mail.python.org/archives/list/[email protected]/thread/TK6TXW3SWYJAFBVFMXJ5G7KTODJEEZI2/) there was some brief discussion of certain Hypothesis configuration options that are...

This fixes #153 by fixing _only_ the Hypothesis strategy for `DecodedURL`. It doesn't stop `encoded_urls` from finding `EncodedURL` values which cannot be decoded by `DecodedURL`. It only catches these values...

The test suite reports ResourceWarning from two places in the test suite. This fixes those cases.

Consider how `equal_to` describes itself: ``` >>> d = StringDescription() >>> d.append_description_of(equal_to(3)) >>> str(d) '' ``` What does `` mean? It's hard to tell. Compare this with other built-in matcher...

feature request

``` =============================================================================== Error: Traceback (most recent call last): File "/Users/runner/work/twisted/twisted/.tox/macos-withcov-alldeps/lib/python3.11/site-packages/twisted/internet/test/test_fdset.py", line 91, in test_addReader self.runReactor(reactor) File "/Users/runner/work/twisted/twisted/.tox/macos-withcov-alldeps/lib/python3.11/site-packages/twisted/internet/test/reactormixins.py", line 337, in runReactor raise TestTimeoutError(f"reactor still running after {timeout} seconds") twisted.internet.test.reactormixins.TestTimeoutError: reactor...

bug