From 511282de0cbb82bd931681b7ca8a6c83755af4d9 Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Fri, 13 Jan 2023 13:08:53 -0700 Subject: Remove unneeded code in new Java test java inner class cache teest: String didn't need to interpolate from locals() as there were no variables to fill in. Signed-off-by: Mats Wichmann --- CHANGES.txt | 7 ++++--- test/Java/inner-cacheable-live.py | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 087464b..32e1e5b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -98,9 +98,10 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER over 2100 lines. - Add a zipapp package of scons-local: can use SCons from a local file which does not need unpacking. - - Fix a problem (4.4 only) where a Java inner class could not be cached - because the emitted filename contained a '$' and ended up generating - a Python SyntaxError because is was passed through scons_subst(). + - Fix a problem (present in 4.4.0 only) where a Java inner class could + not be cached because the emitted filename contained a '$' and when + looked up through a node ended up generating a Python SyntaxError + because it was passed through scons_subst(). RELEASE 4.4.0 - Sat, 30 Jul 2022 14:08:29 -0700 diff --git a/test/Java/inner-cacheable-live.py b/test/Java/inner-cacheable-live.py index 9f70291..e0391d2 100644 --- a/test/Java/inner-cacheable-live.py +++ b/test/Java/inner-cacheable-live.py @@ -50,11 +50,11 @@ if test.javac_is_gcj: test.write( 'SConstruct', """ +DefaultEnvironment(tools=[]) env = Environment() env.CacheDir("cache") env.Java("classes", "source") -""" - % locals(), +""", ) test.subdir('source') -- cgit v0.12