##// END OF EJS Templates
Skip clipboard test on *nix systems if headless....
Thomas Kluyver -
Show More
@@ -2,8 +2,10 b' import nose.tools as nt'
2
2
3 from IPython.core.error import TryNext
3 from IPython.core.error import TryNext
4 from IPython.lib.clipboard import ClipboardEmpty
4 from IPython.lib.clipboard import ClipboardEmpty
5 from IPython.testing.decorators import skip_if_no_x11
5 from IPython.utils.py3compat import unicode_type
6 from IPython.utils.py3compat import unicode_type
6
7
8 @skip_if_no_x11
7 def test_clipboard_get():
9 def test_clipboard_get():
8 # Smoketest for clipboard access - we can't easily guarantee that the
10 # Smoketest for clipboard access - we can't easily guarantee that the
9 # clipboard is accessible and has something on it, but this tries to
11 # clipboard is accessible and has something on it, but this tries to
General Comments 0
You need to be logged in to leave comments. Login now