Paste input text, by default in quiet mode
(self, txt, flags="-q")
| 101 | """Multiple tests for clipboard pasting""" |
| 102 | |
| 103 | def paste(self, txt, flags="-q"): |
| 104 | """Paste input text, by default in quiet mode""" |
| 105 | ip.hooks.clipboard_get = lambda: txt |
| 106 | ip.run_line_magic("paste", flags) |
| 107 | |
| 108 | def setUp(self): |
| 109 | # Inject fake clipboard hook but save original so we can restore it later |
no test coverage detected