def test_dynamic_class(self): """Tests that a nested class object is pickled correctly.""" self.assertEquals( 'Z:abc', loads(dumps(module_test.create_class('abc'))).get())
def test_dynamic_class(self): """Tests that a nested class object is pickled correctly.""" self.assertEquals('Z:abc', loads(dumps(module_test.create_class('abc'))).get())
def test_pickle_dynamic_class(self): self.assertEqual('Z:abc', loads(dumps(module_test.create_class('abc'))).get())