Skip to content

Commit 77be1a8

Browse files
committed
style(test): reformat with Black 23.1.0
1 parent 85ad735 commit 77be1a8

13 files changed

+0
-14
lines changed

test/t/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ def partialize(
186186

187187
@pytest.fixture(scope="class")
188188
def bash(request) -> pexpect.spawn:
189-
190189
logfile: Optional[TextIO] = None
191190
histfile = None
192191
tmpdir = None
@@ -817,7 +816,6 @@ def assert_complete(
817816
pytest.xfail(xfail)
818817

819818
with bash_env_saved(bash, sendintr=True) as bash_env:
820-
821819
cwd = kwargs.get("cwd")
822820
if cwd:
823821
bash_env.chdir(str(cwd))

test/t/test_chmod.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestChmod:
5-
65
# No completion here until mode completion is implemented
76
@pytest.mark.complete("chmod ")
87
def test_1(self, completion):

test/t/test_createdb.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestCreatedb:
5-
65
# --help can fail due to missing package dependencies, e.g. on Ubuntu 14
76
@pytest.mark.complete(
87
"createdb -", require_cmd=True, xfail="! createdb --help &>/dev/null"

test/t/test_createuser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestCreateuser:
5-
65
# --help can fail due to missing package dependencies, e.g. on Ubuntu 14
76
@pytest.mark.complete(
87
"createuser -", xfail="! createuser --help &>/dev/null"

test/t/test_dropdb.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestDropdb:
5-
65
# --help can fail due to missing package dependencies, e.g. on Ubuntu 14
76
@pytest.mark.complete(
87
"dropdb -", require_cmd=True, xfail="! dropdb --help &>/dev/null"

test/t/test_killall.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestKillall:
5-
65
# "p": Assume our process name completion runs ps and at least it is shown
76
@pytest.mark.complete("killall p")
87
def test_1(self, completion):

test/t/test_man.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
ignore_env=r"^[+-]((BASHOPTS|MANPATH|manpath)=|shopt -. failglob)"
1313
)
1414
class TestMan:
15-
1615
manpath = "$PWD/man"
1716
assumed_present = "man"
1817

test/t/test_munindoc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestMunindoc:
5-
65
# Assume at least munin* available
76
# require_cmd is not strictly correct here, but...
87
@pytest.mark.complete("munindoc m", require_cmd=True)

test/t/test_pgrep.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestPgrep:
5-
65
# "p": Assume that our process name completion runs ps
76
@pytest.mark.complete("pgrep p")
87
def test_1(self, completion):

test/t/test_pidof.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestPidof:
5-
65
# "p": Assume that our process name completion runs ps
76
@pytest.mark.complete("pidof p")
87
def test_1(self, completion):

0 commit comments

Comments
 (0)