MCPcopy Index your code
hub / github.com/python/cpython / copy

Method copy

Lib/test/test_capi/test_unicode.py:2021–2022  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

2019 unicode_equal = _testlimitedcapi.unicode_equal
2020
2021 def copy(text):
2022 return text.encode().decode()
2023
2024 self.assertTrue(unicode_equal("", ""))
2025 self.assertTrue(unicode_equal("abc", "abc"))

Callers 15

TestGeneratorBaseClass · 0.45
make_defaultsFunction · 0.45
PolicyAPITestsClass · 0.45
test_policy_additionMethod · 0.45
sys_modules_contextFunction · 0.45
test_None_on_sys_pathMethod · 0.45
test_copy_fileMethod · 0.45
test_copy_file_emptyMethod · 0.45

Calls 2

decodeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected