-- in py3 raises an error if it's not str already.
(self, s)
| 352 | py_db.post_method_as_internal_command(thread_id, internal_get_frame, seq, thread_id, frame_id) |
| 353 | |
| 354 | def to_str(self, s): |
| 355 | """ |
| 356 | -- in py3 raises an error if it's not str already. |
| 357 | """ |
| 358 | if s.__class__ != str: |
| 359 | raise AssertionError("Expected to have str on Python 3. Found: %s (%s)" % (s, s.__class__)) |
| 360 | return s |
| 361 | |
| 362 | def filename_to_str(self, filename): |
| 363 | """ |
no outgoing calls
no test coverage detected