We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81651f commit cd6072bCopy full SHA for cd6072b
tests/test_input.py
@@ -91,6 +91,12 @@ def test_apply_subcommand(chat, temp_git_repo):
91
92
93
def test_copy_subcommand(chat, temp_git_repo):
94
+ try:
95
+ pyperclip.copy("foo")
96
+ assert pyperclip.paste() == "foo"
97
+ except pyperclip.PyperclipException:
98
+ pytest.skip("pyperclip not available on this operating system")
99
+
100
with in_temp_directory(temp_git_repo.working_dir):
101
# Add the patch to the chat (simulating it coming in from the LM response)
102
chat.code_blocks = ["code block 1", "code block 2"]
0 commit comments