summaryrefslogtreecommitdiffstats
path: root/test/Variables
diff options
context:
space:
mode:
Diffstat (limited to 'test/Variables')
-rw-r--r--test/Variables/BoolVariable.py4
-rw-r--r--test/Variables/PackageVariable.py4
-rw-r--r--test/Variables/help.py4
3 files changed, 6 insertions, 6 deletions
diff --git a/test/Variables/BoolVariable.py b/test/Variables/BoolVariable.py
index 37130c0..e3ebabd 100644
--- a/test/Variables/BoolVariable.py
+++ b/test/Variables/BoolVariable.py
@@ -33,8 +33,8 @@ import os.path
try:
True, False
except NameError:
- True = (0 == 0)
- False = (0 != 0)
+ exec('True = (0 == 0)')
+ exec('False = (0 != 0)')
import TestSCons
diff --git a/test/Variables/PackageVariable.py b/test/Variables/PackageVariable.py
index 6ad7fc1..172d5e4 100644
--- a/test/Variables/PackageVariable.py
+++ b/test/Variables/PackageVariable.py
@@ -33,8 +33,8 @@ import os.path
try:
True, False
except NameError:
- True = (0 == 0)
- False = (0 != 0)
+ exec('True = (0 == 0)')
+ exec('False = (0 != 0)')
import TestSCons
diff --git a/test/Variables/help.py b/test/Variables/help.py
index 0a0a969..6776327 100644
--- a/test/Variables/help.py
+++ b/test/Variables/help.py
@@ -33,8 +33,8 @@ import os.path
try:
True, False
except NameError:
- True = (0 == 0)
- False = (0 != 0)
+ exec('True = (0 == 0)')
+ exec('False = (0 != 0)')
str_True = str(True)
str_False = str(False)