diff options
author | anatoly techtonik <techtonik@gmail.com> | 2014-02-25 08:27:16 +0300 |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2014-02-25 08:27:16 +0300 |
commit | 6f108b32da10ac346135472b553f48d2ef399d56 (patch) | |
tree | 009f383cf73a63cb29cdac37a99a7ff141f3ec16 | |
parent | bc108eeeaea451f19852724ea8f8f2820bc71d50 (diff) | |
download | scons-6f108b32da10ac346135472b553f48d2ef399d56.tar.gz |
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 bbca9efc..96ce51ed 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>>> |