From 70f429bea41c6beedd4c4b902d747263e919bb0c Mon Sep 17 00:00:00 2001 From: xi Date: Sun, 20 Aug 2006 09:10:47 +0000 Subject: [PATCH] Fix a test to work under Python 2.3. git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@228 18f92427-320e-0410-9341-c67f048884a3 --- tests/data/recursive-set.recursive | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/data/recursive-set.recursive b/tests/data/recursive-set.recursive index d1a7ca3..457c50d 100644 --- a/tests/data/recursive-set.recursive +++ b/tests/data/recursive-set.recursive @@ -1,3 +1,7 @@ +try: + set +except NameError: + from sets import Set as set value = set() value.add(AnInstance(foo=value, bar=value)) value.add(AnInstance(foo=value, bar=value)) -- 2.11.4.GIT