summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/try_execfile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/try_execfile.py b/tests/try_execfile.py
index 314ffae0..fd430e6b 100644
--- a/tests/try_execfile.py
+++ b/tests/try_execfile.py
@@ -60,6 +60,8 @@ globals_to_check = {
'__doc__': __doc__,
'__builtins__.has_open': hasattr(__builtins__, 'open'),
'__builtins__.dir': dir(__builtins__),
+ '__loader__ exists': '__loader__' in globals(),
+ '__loader__.fullname': getattr(globals().get('__loader__', None), 'fullname', None),
'__package__': __package__,
'DATA': DATA,
'FN_VAL': FN_VAL,