summaryrefslogtreecommitdiff
path: root/test/NodeOps.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-04-17 13:16:00 +0000
committerGreg Noel <GregNoel@tigris.org>2010-04-17 13:16:00 +0000
commit65370312ea45bf85ebb5ddd64ecc97764c0cdad5 (patch)
tree61e16d3edbaa1230dfa20699c4584c87d9b3f725 /test/NodeOps.py
parentea67705c79da513fe8e6c12b0ffb4b6c29e4fac8 (diff)
downloadscons-65370312ea45bf85ebb5ddd64ecc97764c0cdad5.tar.gz
http://scons.tigris.org/issues/show_bug.cgi?id=2345
Fix the 'assignment to True or False' and the '__getitem__ not supported for exception classes' deprecation warnings.
Diffstat (limited to 'test/NodeOps.py')
-rw-r--r--test/NodeOps.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/NodeOps.py b/test/NodeOps.py
index 6de7d091..5062b721 100644
--- a/test/NodeOps.py
+++ b/test/NodeOps.py
@@ -121,13 +121,6 @@ sconscript = r"""
import os
Import('*')
-import __builtin__
-try:
- __builtin__.True
-except AttributeError:
- __builtin__.True = 1
- __builtin__.False = 0
-
def mycopy(env, source, target):
open(str(target[0]),'w').write(open(str(source[0]),'r').read())