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 29
29
ruff format --check .
30
30
- name : Run Tests
31
31
run : |
32
- ./ tests/run_tests.py
32
+ pytest tests/
33
33
- name : Validate README.md
34
34
# Ensure that the README renders correctly (required for uploading to PyPI).
35
35
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