Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 6de6837

Browse files
committed
Clean: Black.
1 parent ff6bcfd commit 6de6837

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

runestone/unittest_base.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from selenium.webdriver.chrome.options import Options
2727
import pytest
2828
from pyvirtualdisplay import Display
29+
2930
logging.basicConfig(level=logging.WARN)
3031
mylogger = logging.getLogger()
3132

@@ -111,9 +112,13 @@ def setUpModule(self):
111112
if len(data) <= 1:
112113
continue
113114
ptokill = int(data[1])
114-
mylogger.warn("Attempting to kill a stale runestone serve process: {}".format(ptokill))
115+
mylogger.warn(
116+
"Attempting to kill a stale runestone serve process: {}".format(
117+
ptokill
118+
)
119+
)
115120
os.kill(ptokill, signal.SIGKILL)
116-
time.sleep(2) # give the old process a couple seconds to clear out
121+
time.sleep(2) # give the old process a couple seconds to clear out
117122
try:
118123
os.kill(ptokill, 0) # will throw an Error if process gone
119124
pytest.exit(

0 commit comments

Comments
 (0)