summaryrefslogtreecommitdiffstats
path: root/tests/test_syntax.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_syntax.py')
-rw-r--r--tests/test_syntax.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_syntax.py b/tests/test_syntax.py
index 82c4194da..4a131ef6f 100644
--- a/tests/test_syntax.py
+++ b/tests/test_syntax.py
@@ -8,9 +8,8 @@ from unittest import TestCase
PATH = abspath(join(dirname(abspath(__file__)), "..", ""))
-# gettext
-__builtin__._ = lambda x: x
-__builtin__.hookManager = _
+# needed to register globals
+from helper import Stubs
class TestSyntax(TestCase):
pass