Skip to content

Commit b653415

Browse files
committed
Merge bitcoin/bitcoin#22926: doc: Set PYTHONUTF8=1 for functional tests on Windows
c427a58 doc: Set PYTHONUTF8=1 for functional tests on Windows (Hennadii Stepanov) Pull request description: The `PYTHONUTF8` environment variable is defined in [PEP 540](https://www.python.org/dev/peps/pep-0540/), and it is actually used in our CI: https://github.com/bitcoin/bitcoin/blob/5e3380b9f59481fc18e05b9d651c3c733abe4053/.cirrus.yml#L89 This PR documents such usage to avoid users' [errors](bitcoin/bitcoin#22922 (comment)). ACKs for top commit: MarcoFalke: cr ACK c427a58 Tree-SHA512: 441b8cecfe47d548cfe403b0e1cd0aef25c1a70ff556434ead1f1e26372919931ac6f208a4ed6fd8dcca46e8709245e4fb06f95259a43c8e1221473ce1ee497b
2 parents d2dd169 + c427a58 commit b653415

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,20 @@ See [/doc/fuzzing.md](/doc/fuzzing.md)
2626

2727
### Functional tests
2828

29-
#### Dependencies
29+
#### Dependencies and prerequisites
3030

3131
The ZMQ functional test requires a python ZMQ library. To install it:
3232

3333
- on Unix, run `sudo apt-get install python3-zmq`
3434
- on mac OS, run `pip3 install pyzmq`
3535

36+
37+
On Windows the `PYTHONUTF8` environment variable must be set to 1:
38+
39+
```cmd
40+
set PYTHONUTF8=1
41+
```
42+
3643
#### Running the tests
3744

3845
Individual tests can be run by directly calling the test script, e.g.:

0 commit comments

Comments
 (0)