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

Method assert_POT_equal

Lib/test/test_tools/test_i18n.py:90–93  ·  view source on GitHub ↗

Check if two POT files are equal

(self, expected, actual)

Source from the content-addressed store, hash-verified

88 return msgids
89
90 def assert_POT_equal(self, expected, actual):
91 """Check if two POT files are equal"""
92 self.maxDiff = None
93 self.assertEqual(normalize_POT_file(expected), normalize_POT_file(actual))
94
95 def extract_from_str(self, module_content, *, args=(), strict=True,
96 with_stderr=False, raw=False):

Callers 1

test_pygettext_outputMethod · 0.95

Calls 2

normalize_POT_fileFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected