mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 04:14:30 +02:00
Fix test for Python 3.6, refs #368
This commit is contained in:
parent
539f5ccd90
commit
e0c476bc38
1 changed files with 1 additions and 1 deletions
|
|
@ -2024,7 +2024,7 @@ def test_integer_overflow_error(tmpdir):
|
||||||
def test_python_dash_m():
|
def test_python_dash_m():
|
||||||
"Tool can be run using python -m sqlite_utils"
|
"Tool can be run using python -m sqlite_utils"
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
[sys.executable, "-m", "sqlite_utils", "--help"], capture_output=True
|
[sys.executable, "-m", "sqlite_utils", "--help"], stdout=subprocess.PIPE
|
||||||
)
|
)
|
||||||
assert result.returncode == 0
|
assert result.returncode == 0
|
||||||
assert b"Commands for interacting with a SQLite database" in result.stdout
|
assert b"Commands for interacting with a SQLite database" in result.stdout
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue