diff options
author | anatoly techtonik <techtonik@gmail.com> | 2014-02-25 05:27:16 (GMT) |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2014-02-25 05:27:16 (GMT) |
commit | 67a955e55c907bcd5b37710be2ae1fbf022b0ece (patch) | |
tree | 009f383cf73a63cb29cdac37a99a7ff141f3ec16 | |
parent | c5f2413c98c3ac4804c4430586d56ffa361414fd (diff) | |
download | SCons-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.py | 12 |
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>>> |