Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
tests support python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dlshriver committed Mar 30, 2016
1 parent 68d4a79 commit b0402ef
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 145 deletions.
3 changes: 1 addition & 2 deletions tests/test_pylinq.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ class pylinq_tests(unittest.TestCase):

def test_as_queryable(self):
self.assertEqual(list(pylinq.as_queryable([1, 2, 3])), [1, 2, 3])
with self.assertRaises(TypeError):
pylinq.as_queryable(100)
self.assertRaises(TypeError, pylinq.as_queryable, 100)

0 comments on commit b0402ef

Please sign in to comment.