Skip to content

Commit

Permalink
Apply pre-commit code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Aug 23, 2024
1 parent c4284f6 commit 8d3b8bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Testing/ZopeTestCase/testZODBCompat.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,14 +326,14 @@ def _getfolder(self):

def testTransactionAbort(self):
folder = self._getfolder()
self.assertTrue(folder is not None)
self.assertTrue(folder._p_jar is None)
self.assertIsNotNone(folder)
self.assertIsNone(folder._p_jar)
transaction.savepoint()
self.assertTrue(folder._p_jar is not None)
self.assertIsNotNone(folder._p_jar)
transaction.abort()
del folder
folder = self._getfolder()
self.assertTrue(folder is None)
self.assertIsNone(folder)


def test_suite():
Expand Down

0 comments on commit 8d3b8bd

Please sign in to comment.