Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11eb7b9

Browse files
committed
Merge pull request #8388 from Carreau/nightly
run test on 3.5
2 parents fe4eb8d + 306e3c2 commit 11eb7b9

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# http://travis-ci.org/#!/ipython/ipython
22
language: python
33
python:
4+
- "nightly"
45
- 3.4
56
- 3.3
67
- 2.7
78
sudo: false
9+
matrix:
10+
allow_failures:
11+
- python : "nightly"
812
before_install:
913
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
1014
- 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'

IPython/core/tests/test_interactiveshell.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
# Tests
5151
#-----------------------------------------------------------------------------
5252

53+
class DerivedInterrupt(KeyboardInterrupt):
54+
pass
55+
5356
class InteractiveShellTestCase(unittest.TestCase):
5457
def test_naked_string_cells(self):
5558
"""Test that cells with only naked strings are fully executed"""
@@ -502,8 +505,6 @@ def test_get_exception_only(self):
502505
msg = ip.get_exception_only()
503506
self.assertEqual(msg, 'KeyboardInterrupt\n')
504507

505-
class DerivedInterrupt(KeyboardInterrupt):
506-
pass
507508
try:
508509
raise DerivedInterrupt("foo")
509510
except KeyboardInterrupt:

0 commit comments

Comments
 (0)