Mercurial > p > roundup > code
comparison test/tx_Source_detector.py @ 4878:f6e76a03b502
HTML* classes for cgi are now all new-style
Add regression test for old behaviour: Lookup of a value of a
HTMLProperty was possibly via getitem -- for old-style classes this
worked because __getattr__ returned the __getitem__ of a newly created
HTMLItem object, this does no longer work for new-style classes as these
look up special method only on the class not the instance.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Sat, 29 Mar 2014 10:52:20 +0100 |
| parents | 6e9b9743de89 |
| children | 64b05e24dbd8 |
comparison
equal
deleted
inserted
replaced
| 4877:2ba982dcdf2c | 4878:f6e76a03b502 |
|---|
