Skip to content

Commit

Permalink
Merge pull request #8388 from Carreau/nightly
Browse files Browse the repository at this point in the history
run test on 3.5
  • Loading branch information
takluyver committed May 1, 2015
2 parents fe4eb8d + 306e3c2 commit 11eb7b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# http://travis-ci.org/#!/ipython/ipython
language: python
python:
- "nightly"
- 3.4
- 3.3
- 2.7
sudo: false
matrix:
allow_failures:
- python : "nightly"
before_install:
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
- 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
Expand Down
5 changes: 3 additions & 2 deletions IPython/core/tests/test_interactiveshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
# Tests
#-----------------------------------------------------------------------------

class DerivedInterrupt(KeyboardInterrupt):
pass

class InteractiveShellTestCase(unittest.TestCase):
def test_naked_string_cells(self):
"""Test that cells with only naked strings are fully executed"""
Expand Down Expand Up @@ -502,8 +505,6 @@ def test_get_exception_only(self):
msg = ip.get_exception_only()
self.assertEqual(msg, 'KeyboardInterrupt\n')

class DerivedInterrupt(KeyboardInterrupt):
pass
try:
raise DerivedInterrupt("foo")
except KeyboardInterrupt:
Expand Down

0 comments on commit 11eb7b9

Please sign in to comment.