Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
D.copy() -> a shallow copy of D.

This overrides the default dict.copy method to ensure that the
copy is also an instance of SettingsDict.

src/m/o/mozservices-HEAD/mozsvc/tests/test_config.py   mozservices(Download)
            "four": 4,
        })
        new_settings = settings.copy()
        self.assertEqual(settings, new_settings)
        self.failUnless(isinstance(new_settings, SettingsDict))

src/m/o/mozsvc-0.7/mozsvc/tests/test_config.py   mozsvc(Download)
          "four": 4,
        })
        new_settings = settings.copy()
        self.assertEqual(settings, new_settings)
        self.failUnless(isinstance(new_settings, SettingsDict))