Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Nov 6, 2024
1 parent 7c03386 commit f25198b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nti/testing/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _doSetUp(obj):
package=obj.get_configuration_package())

@staticmethod
def _do_configure_packages(obj,
def _do_configure_packages(obj, # pylint:disable=too-many-positional-arguments
set_up_packages=(),
features=(),
context=_marker,
Expand Down
2 changes: 1 addition & 1 deletion src/nti/testing/zodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def __exit__(self, t, v, tb):
tx = self.__current_transaction
if not txm.explicit:
abort_only = True
error_in_body = _TransactionManagerModeChanged(t, v, tb)
error_in_body:Exception = _TransactionManagerModeChanged(t, v, tb)

try:
if txm.get() is not tx:
Expand Down

0 comments on commit f25198b

Please sign in to comment.