Manuel Jacob

Results 15 issues of Manuel Jacob

The [documentation for `pytest.mark.xfail()`](https://docs.pytest.org/en/latest/reference/reference.html#pytest-mark-xfail) does not match reality. - `reason=None`: If no conditions are passed, `reason`’s default is `""` ([code](https://github.com/pytest-dev/pytest/blob/b08c1dcf0e421b408653d185574baec7855e2439/src/_pytest/skipping.py#L218)). Adding `@pytest.mark.xfail(reason=None, strict=True)` to a passing test results in “TypeError:...

type: enhancement
type: docs
topic: typing

Closes #9027. TODO: discuss API in #9027 TODO: write documentation TODO: write changelog entry TODO: add me to AUTHORS TODO: fix linting errors TODO: write proper commit message

status: needs information

My getdown.txt looks like this: ``` appbase = http://localhost:8081/test code = helloworld.jar class = HelloWorld java_min_version = 9999999 java_location = [linux] /jvm/java_linux.jar ``` When running getdown with an absolute appdir...

See for example this piece of Impala code: ``` extern fn test(very_unlikely1: bool, very_unlikely2: bool, a: int, b: int) -> int { let d = if very_unlikely1 { a /...

The `digits` parameter of Kernel#BigDecimal is documented like this: > The number of significant digits, as an Integer. If omitted or 0, the number of significant digits is determined from...

When having `sys.stderr.buffer.write(memoryview(b'test\n'))` in a WSGI script, it fails with “TypeError: write() argument 1 must be read-only bytes-like object, not memoryview”. On mod_wsgi, `sys.stderr.buffer` is a `mod_wsgi.Log` object. Its [`write()`...

Suppose I have the following files and directories: - `input/` - `input/test.adoc` - `input/image.png` - `output/` To make referencing the image possible, I set `docdir` to the absolute path of...

improvement

[Example swap.nix](https://github.com/nix-community/disko/blob/2d7d77878c5d70f66f3d676ff66708d8d4f9d7df/example/swap.nix#L31-L32) enables both randomEncryption and resumeDevice. According to the [NixOS option documentation](https://github.com/NixOS/nixpkgs/blob/b5953ae45d2de05b33eba1e7b2c2a198f12e0c29/nixos/modules/config/swap.nix#L20-L22), hibernating from swap partitions with random keys does not work and enabling this option could lead to...

I got an error while running the [EdgeDB build instructions](https://www.edgedb.com/docs/guides/contributing). I reduced it to the following sequence of commands: * `git clone https://github.com/edgedb/edgedb-ui.git` * `cd edgedb-ui/web` * `yarn` * `yarn...