MCPcopy Create free account
hub / github.com/clips/pattern / testDeepcopy

Method testDeepcopy

pattern/web/soup/BeautifulSoupTests.py:291–294  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

289 self.assertEqual(str(loaded), str(self.soup))
290
291 def testDeepcopy(self):
292 from copy import deepcopy
293 copied = deepcopy(self.soup)
294 self.assertEqual(str(copied), str(self.soup))
295
296 def testUnicodePickle(self):
297 import cPickle as pickle

Callers

nothing calls this directly

Calls 2

deepcopyFunction · 0.85
strFunction · 0.85

Tested by

no test coverage detected