File tree Expand file tree Collapse file tree 3 files changed +32
-25
lines changed Expand file tree Collapse file tree 3 files changed +32
-25
lines changed Original file line number Diff line number Diff line change 2929 ruff format --check .
3030 - name : Run Tests
3131 run : |
32- ./ tests/run_tests.py
32+ pytest tests/
3333 - name : Validate README.md
3434 # Ensure that the README renders correctly (required for uploading to PyPI).
3535 run : |
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+ from __future__ import annotations
3+
4+ import ptpython .completer
5+ import ptpython .eventloop
6+ import ptpython .filters
7+ import ptpython .history_browser
8+ import ptpython .key_bindings
9+ import ptpython .layout
10+ import ptpython .python_input
11+ import ptpython .repl
12+ import ptpython .style
13+ import ptpython .utils
14+ import ptpython .validator
15+
16+ # For now there are no tests here.
17+ # However this is sufficient to do at least a syntax check.
18+
19+
20+ def test_dummy () -> None :
21+ assert ptpython .completer
22+ assert ptpython .eventloop
23+ assert ptpython .filters
24+ assert ptpython .history_browser
25+ assert ptpython .key_bindings
26+ assert ptpython .layout
27+ assert ptpython .python_input
28+ assert ptpython .repl
29+ assert ptpython .style
30+ assert ptpython .utils
31+ assert ptpython .validator
You can’t perform that action at this time.
0 commit comments