Skip to content

Commit

Permalink
Fix pylint on Py2
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Dec 10, 2019
1 parent 6f41b5d commit 5780196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -9,6 +9,7 @@
}

TESTS_REQUIRE = [
'coverage',
'fudge',
'nti.testing',
'pylint',
Expand Down
2 changes: 1 addition & 1 deletion src/nti/transactions/tests/test_loop.py
Expand Up @@ -57,7 +57,7 @@ def __init__(self, t=None):

def nti_commit(self):
if self.t:
raise self.t
raise self.t # (Python2, old pylint) pylint:disable=raising-bad-type

def RaisingCommit(self, t=Exception):
return self.Transaction(t)
Expand Down

0 comments on commit 5780196

Please sign in to comment.