Fix and split clipboard tests into *nix and Darwin
This commit is contained in:
2 files changed
+11
-9
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ def _subprocess_copy(text, args_list):
|
||||
p.communicate(input=text.encode('utf-8'))
|
||||
|
||||
|
||||
def copy(text, cmd):
|
||||
def copy(text, cmd=None):
|
||||
"""
|
||||
Copy text to OS clipboard.
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user