summaryrefslogtreecommitdiff
path: root/tests/test_execfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_execfile.py')
-rw-r--r--tests/test_execfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_execfile.py b/tests/test_execfile.py
index b740d2df..c758f711 100644
--- a/tests/test_execfile.py
+++ b/tests/test_execfile.py
@@ -51,7 +51,7 @@ class RunFileTest(CoverageTest):
assert mod_globs['argv1-n'] == ["arg1", "arg2"]
# __builtins__ should have the right values, like open().
- assert mod_globs['__builtins__.has_open'] == True
+ assert mod_globs['__builtins__.has_open'] is True
def test_no_extra_file(self):
# Make sure that running a file doesn't create an extra compiled file.