2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

Remove pseudo-assignment test

[SVN r20416]
This commit is contained in:
Raoul Gough
2003-10-20 10:56:02 +00:00
parent b07d2e8591
commit e39ede3116

View File

@@ -21,11 +21,11 @@
'''>>> from testnonlinear import *
>>> setTrace(0)
>>> s = Set() # std::set<std::string>
>>> 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")