diff options
author | strank <strank@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2008-07-23 19:44:50 +0000 |
---|---|---|
committer | strank <strank@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2008-07-23 19:44:50 +0000 |
commit | 9878aff2fb3421f1a31681d361cc24d1ef3e1a5b (patch) | |
tree | 8b1cb8accd2b1843d83838796a738e1b4a93faa3 /test/test_nodes.py | |
parent | 83816c45579ffbfab7206e21818ecdd12ddcd8f6 (diff) | |
download | docutils-abolish-userstring-haskey@5608.tar.gz |
undo accidental commit to trunkabolish-userstring-haskey@5608
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5608 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_nodes.py')
-rwxr-xr-x | test/test_nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_nodes.py b/test/test_nodes.py index 2da605aea..c981a4e96 100755 --- a/test/test_nodes.py +++ b/test/test_nodes.py @@ -91,7 +91,7 @@ class ElementTests(unittest.TestCase): def test_normal_attributes(self): element = nodes.Element() - self.assert_('foo' not in element) + self.assert_(not element.has_key('foo')) self.assertRaises(KeyError, element.__getitem__, 'foo') element['foo'] = 'sometext' self.assertEquals(element['foo'], 'sometext') |