Skip to content

Commit 0317651

Browse files
Align README install command with python3 invocation
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent d1d52cf commit 0317651

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ except HyperbrowserTimeoutError:
232232
## Development
233233

234234
```bash
235-
pip install -e . pytest ruff build
235+
python3 -m pip install -e . pytest ruff build
236236
python3 -m ruff check .
237237
python3 -m ruff format --check .
238238
python3 -m pytest -q

tests/test_docs_python3_commands.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ def test_readme_and_contributing_use_python3_commands():
1212

1313
assert "python -m" not in readme_text
1414
assert "python -m" not in contributing_text
15+
assert not re.search(r"^\s*pip install -e \. pytest ruff build\s*$", readme_text, re.MULTILINE)
16+
assert "python3 -m pip install -e . pytest ruff build" in readme_text
1517

1618

1719
def test_example_run_blocks_use_python3():

0 commit comments

Comments
 (0)