Skip to content

Commit

Permalink
twistedchecker
Browse files Browse the repository at this point in the history
  • Loading branch information
glyph committed Jun 28, 2018
1 parent 86df7bf commit 317551b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/twisted/internet/test/test_coroutines.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
if _PY35PLUS:
_path = FilePath(__file__).parent().child("_awaittests.py.3only")

_g = {"__name__": "twisted.internet.test.test_coroutines.3-only.awaittests"}
_g = {"__name__": __name__ + ".3-only.awaittests"}
execfile(_path.path, _g)
AwaitTests = _g["AwaitTests"]
else:
Expand All @@ -38,7 +38,7 @@ def test_notAvailable(self):
if _PY3:
_path = FilePath(__file__).parent().child("_yieldfromtests.py.3only")

_g = {"__name__": "twisted.internet.test.test_coroutines.3-only.yieldfromtests"}
_g = {"__name__": __name__ + ".3-only.yieldfromtests"}
execfile(_path.path, _g)
YieldFromTests = _g["YieldFromTests"]
else:
Expand Down

0 comments on commit 317551b

Please sign in to comment.