Skip to content

Commit

Permalink
make flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
d-maurer committed Apr 17, 2023
1 parent 48315c6 commit 2de5ec1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/ZODB/tests/test_racetest.py
Expand Up @@ -61,15 +61,14 @@ def test_thread_unfinished(self):
tg.wait(0.1)
self.assertEqual(self.failed,
"test did not finish within 0.1 seconds\n\n"
"threads did not finish: ['T2']")


"threads did not finish: ['T2']")


T_SUCCESS = 0
T_SLOW = 1
T_EXC = 3
T_FAIL = 4
T_SLOW = 1
T_EXC = 3
T_FAIL = 4


def tg_test_function(tg, tx, mode=T_SUCCESS, waits=1, wait_time=0.2):
if mode == T_SUCCESS:
Expand All @@ -93,4 +92,3 @@ def tg_test_function(tg, tx, mode=T_SUCCESS, waits=1, wait_time=0.2):
class SimpleNamespace(object):
def __init__(self, **kw):
self.__dict__.update(kw)

0 comments on commit 2de5ec1

Please sign in to comment.