From e39ede311659eea6e4a41480e590830cf17ee064 Mon Sep 17 00:00:00 2001 From: Raoul Gough Date: Mon, 20 Oct 2003 10:56:02 +0000 Subject: [PATCH] Remove pseudo-assignment test [SVN r20416] --- test/test_set_plain.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_set_plain.py b/test/test_set_plain.py index 9c410c49..afdf9010 100644 --- a/test/test_set_plain.py +++ b/test/test_set_plain.py @@ -21,11 +21,11 @@ '''>>> from testnonlinear import * >>> setTrace(0) >>> s = Set() # std::set ->>> s["hello"] = None # Insert entry (weird interface) +>>> s.insert("hello") # Insert entry >>> print s["hello"] # Lookup entry hello ->>> s.insert ("Barnaby") # Insert entry (sensible interface) ->>> print s["Barnaby"] +>>> s.insert ("Barnaby") # Insert another entry +>>> print s["Barnaby"] # Lookup entry Barnaby >>> assert s.has_key ("Barnaby") >>> assert not s.has_key ("Rudge")