MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / check

Function check

tests_python/test_convert_utilities.py:183–193  ·  view source on GitHub ↗
(obtained, expected)

Source from the content-addressed store, hash-verified

181 try:
182
183 def check(obtained, expected):
184 assert obtained == expected, "%s (%s) != %s (%s)" % (obtained, type(obtained), expected, type(expected))
185 if isinstance(obtained, tuple):
186 assert isinstance(obtained[0], str)
187 else:
188 assert isinstance(obtained, str)
189
190 if isinstance(expected, tuple):
191 assert isinstance(expected[0], str)
192 else:
193 assert isinstance(expected, str)
194
195 import pydevd_file_utils
196

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected