You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Run Python snippets tests (debug mode recommended for faster compilation)
91
+
cargo run -- extra_tests/snippets/builtin_bytes.py
92
+
93
+
# Run all Python snippets tests with pytest
91
94
cd extra_tests
92
95
pytest -v
93
96
94
-
# Run the Python test module
97
+
# Run the Python test module (release mode recommended for better performance)
95
98
cargo run --release -- -m test${TEST_MODULE}
96
99
cargo run --release -- -m test test_unicode # to test test_unicode.py
97
100
98
101
# Run the Python test module with specific function
99
102
cargo run --release -- -m test test_unicode -k test_unicode_escape
100
103
```
101
104
105
+
**Note**: For `extra_tests/snippets` tests, use debug mode (`cargo run`) as compilation is faster. For `unittest` (`-m test`), use release mode (`cargo run --release`) for better runtime performance.
106
+
102
107
### Determining What to Implement
103
108
104
109
Run `./whats_left.py` to get a list of unimplemented methods, which is helpful when looking for contribution opportunities.
See DEVELOPMENT.md "CPython Version Upgrade Checklist" section.
195
+
196
+
**IMPORTANT**: All 4 venvlauncher binaries use the same source code. Do NOT add multiple `[[bin]]` entries to Cargo.toml. Build once and copy with different names.
0 commit comments