Skip to content

Commit 30fa71c

Browse files
committed
don't fail on not-found display
1 parent 4e19d2e commit 30fa71c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ matrix:
4444
- language-pack-zh-hans
4545
- dist: trusty
4646
env:
47-
- JOB="2.7" TEST_ARGS="--skip-slow" LINT=true
47+
- JOB="2.7" TEST_ARGS="--skip-slow" LINT=true CLIPBOARD=true
4848
addons:
4949
apt:
5050
packages:

pandas/tests/io/test_clipboard.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
try:
1919
DataFrame({'A': [1, 2]}).to_clipboard()
2020
_DEPS_INSTALLED = 1
21-
except PyperclipException:
21+
except (PyperclipException, RuntimeError):
2222
_DEPS_INSTALLED = 0
2323

2424

0 commit comments

Comments
 (0)