summaryrefslogtreecommitdiffstats
path: root/test/Java/Java-1.4.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Java/Java-1.4.py')
-rw-r--r--test/Java/Java-1.4.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Java/Java-1.4.py b/test/Java/Java-1.4.py
index f0f5a93..9cc1d96 100644
--- a/test/Java/Java-1.4.py
+++ b/test/Java/Java-1.4.py
@@ -21,6 +21,7 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
+from __future__ import generators ### KEEP FOR COMPATIBILITY FIXERS
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
@@ -361,7 +362,7 @@ def classes_must_match(dir, expect):
def classes_must_not_exist(dir, expect):
global failed
- present = filter(os.path.exists, expect)
+ present = list(filter(os.path.exists, expect))
if present:
sys.stderr.write("Found the following unexpected class files in '%s' after cleaning:\n" % dir)
for c in present: