Fix and split clipboard tests into *nix and Darwin

This commit is contained in:
John Helmert
2019-06-29 21:30:08 -05:00
parent 54c4e5866d
commit 17a17f12d5
2 changed files with 11 additions and 9 deletions

View File

@@ -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.
"""