Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 7, 2022
1 parent b9ce4a3 commit 0cc2e83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/twisted/internet/test/test_glibbase.py
Expand Up @@ -67,7 +67,6 @@ def test_ensureFailsWhenImported(self):
self.assertEqual(e.args, ("A message.",))



try:
from twisted.internet import gireactor as _gireactor
except ImportError:
Expand All @@ -85,6 +84,7 @@ class GlibReactorBaseTests(TestCase):
Tests for the private C{twisted.internet._glibbase.GlibReactorBase}
done via the public C{twisted.internet.gireactor.PortableGIReactor}
"""

skip = missingGlibReactor

def test_simulate(self):
Expand All @@ -96,5 +96,5 @@ def test_simulate(self):
sut = gireactor.PortableGIReactor(usegtk=False)
# Double check that reactor has no sleep period.
self.assertIs(None, sut.timeout())

sut.simulate()

0 comments on commit 0cc2e83

Please sign in to comment.