Skip to content

Commit

Permalink
adapt to test prefix change "check --> test" in ZODB@master
Browse files Browse the repository at this point in the history
  • Loading branch information
d-maurer committed Jul 26, 2023
1 parent 42e6244 commit 99e72a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ZEO/tests/testZEO.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,9 @@ def checkPackUndoLog(self):
# time.sleep and time.time to cooperate and pretend for time
# to pass. That doesn't work for the spawned server, and this
# test case is very sensitive to times matching.
super_meth = super().checkPackUndoLog
super_meth = getattr(super(), "testPackUndoLog", None)
if super_meth is None: # old ZODB
super_meth = super().checkPackUndoLog
# Find the underlying function, not the decorated method.
# If it doesn't exist, the implementation has changed and we
# need to revisit this...
Expand Down

0 comments on commit 99e72a7

Please sign in to comment.