Merging upstream version 3.0.30.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
dd7a66a4f1
commit
3707c10a3c
35 changed files with 212 additions and 195 deletions
|
@ -1,24 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
from __future__ import annotations
|
||||
|
||||
import unittest
|
||||
|
||||
import ptpython.completer
|
||||
import ptpython.eventloop
|
||||
import ptpython.filters
|
||||
import ptpython.history_browser
|
||||
import ptpython.key_bindings
|
||||
import ptpython.layout
|
||||
import ptpython.python_input
|
||||
import ptpython.repl
|
||||
import ptpython.style
|
||||
import ptpython.utils
|
||||
import ptpython.validator
|
||||
|
||||
# For now there are no tests here.
|
||||
# However this is sufficient for Travis to do at least a syntax check.
|
||||
# That way we are at least sure to restrict to the Python 2.6 syntax.
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
31
tests/test_dummy.py
Executable file
31
tests/test_dummy.py
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/usr/bin/env python
|
||||
from __future__ import annotations
|
||||
|
||||
import ptpython.completer
|
||||
import ptpython.eventloop
|
||||
import ptpython.filters
|
||||
import ptpython.history_browser
|
||||
import ptpython.key_bindings
|
||||
import ptpython.layout
|
||||
import ptpython.python_input
|
||||
import ptpython.repl
|
||||
import ptpython.style
|
||||
import ptpython.utils
|
||||
import ptpython.validator
|
||||
|
||||
# For now there are no tests here.
|
||||
# However this is sufficient to do at least a syntax check.
|
||||
|
||||
|
||||
def test_dummy() -> None:
|
||||
assert ptpython.completer
|
||||
assert ptpython.eventloop
|
||||
assert ptpython.filters
|
||||
assert ptpython.history_browser
|
||||
assert ptpython.key_bindings
|
||||
assert ptpython.layout
|
||||
assert ptpython.python_input
|
||||
assert ptpython.repl
|
||||
assert ptpython.style
|
||||
assert ptpython.utils
|
||||
assert ptpython.validator
|
Loading…
Add table
Add a link
Reference in a new issue