mirror of https://github.com/dbcli/pgcli
test: test pgcli on python3.9 (#1214)
* test: test pgcli on python3.9 * test on 3.9 * use 3.9-dev version from travis. * try to fix pexpect EOF.
This commit is contained in:
parent
7626d9a5f2
commit
f985e1bdd8
|
@ -8,6 +8,7 @@ python:
|
|||
- "3.6"
|
||||
- "3.7"
|
||||
- "3.8"
|
||||
- "3.9-dev"
|
||||
|
||||
before_install:
|
||||
- which python
|
||||
|
|
1
setup.py
1
setup.py
|
@ -54,6 +54,7 @@ setup(
|
|||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: SQL",
|
||||
"Topic :: Database",
|
||||
"Topic :: Database :: Front-Ends",
|
||||
|
|
|
@ -68,7 +68,7 @@ def step_ctrl_d(context):
|
|||
context.cli.sendline("\pset pager off")
|
||||
wrappers.wait_prompt(context)
|
||||
context.cli.sendcontrol("d")
|
||||
context.cli.expect_exact(pexpect.EOF, timeout=15)
|
||||
context.cli.expect(pexpect.EOF, timeout=15)
|
||||
context.exit_sent = True
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue