summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranatoly techtonik <techtonik@gmail.com>2014-02-25 05:27:16 (GMT)
committeranatoly techtonik <techtonik@gmail.com>2014-02-25 05:27:16 (GMT)
commit67a955e55c907bcd5b37710be2ae1fbf022b0ece (patch)
tree009f383cf73a63cb29cdac37a99a7ff141f3ec16
parentc5f2413c98c3ac4804c4430586d56ffa361414fd (diff)
downloadSCons-67a955e55c907bcd5b37710be2ae1fbf022b0ece.zip
SCons-67a955e55c907bcd5b37710be2ae1fbf022b0ece.tar.gz
SCons-67a955e55c907bcd5b37710be2ae1fbf022b0ece.tar.bz2
Make test/Interactive/version.py independent of specific copyright years
-rw-r--r--test/Interactive/version.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/Interactive/version.py b/test/Interactive/version.py
index bbca9ef..96ce51e 100644
--- a/test/Interactive/version.py
+++ b/test/Interactive/version.py
@@ -36,15 +36,11 @@ test.write('SConstruct', "")
-# Construct the standard copyright marker so it doesn't get replaced
+# Standard copyright marker is mangled so it doesn't get replaced
# by the packaging build.
-copyright_marker = '__' + 'COPYRIGHT' + '__'
-
-fmt = '(%s|Copyright \\(c\\) %s The SCons Foundation)\n'
-
-copyright_line = fmt % (copyright_marker, TestSCons.copyright_years)
-
-
+copyright_line = """\
+(_{2}COPYRIGHT__|Copyright \\(c\\) 2001[-\d, ]+ The SCons Foundation)
+"""
expect1 = """\
scons>>>