1
0
Fork 0

Merging upstream version 3.0.30.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-04-16 08:48:46 +02:00
parent dd7a66a4f1
commit 3707c10a3c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
35 changed files with 212 additions and 195 deletions

View file

@ -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
View 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