You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by ph...@apache.org on 2013/04/22 23:02:59 UTC

svn commit: r1470716 - /avro/trunk/lang/py/test/test_protocol.py

Author: philz
Date: Mon Apr 22 21:02:59 2013
New Revision: 1470716

URL: http://svn.apache.org/r1470716
Log:
AVRO-1296. Fixing build breakage for python2.6.

Modified:
    avro/trunk/lang/py/test/test_protocol.py

Modified: avro/trunk/lang/py/test/test_protocol.py
URL: http://svn.apache.org/viewvc/avro/trunk/lang/py/test/test_protocol.py?rev=1470716&r1=1470715&r2=1470716&view=diff
==============================================================================
--- avro/trunk/lang/py/test/test_protocol.py (original)
+++ avro/trunk/lang/py/test/test_protocol.py Mon Apr 22 21:02:59 2013
@@ -379,7 +379,7 @@ class TestProtocol(unittest.TestCase):
     self.assertEqual('com.acme.Greeting', proto.types[0].fullname)
     self.assertEqual('Greeting', proto.types[0].name)
     # but there shouldn't be 'namespace' rendered to json on the inner type
-    self.assertNotIn('namespace', proto.to_json()['types'][0])
+    self.assertFalse('namespace' in proto.to_json()['types'][0])
 
   def test_valid_cast_to_string_after_parse(self):
     """