Skip to content

Commit

Permalink
Fix failing test on Python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jeethu committed Feb 18, 2015
1 parent 471d0d1 commit 2888263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tests/test_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@


class TestBasics(unittest.TestCase):
_KEYS = ['_test_key1', '_test_key2',
'_test_key3', '_test_key4']
_KEYS = ['_test_key1', '_test_key2', '_test_key3']
skipTeardown = False

@defer.inlineCallbacks
Expand Down
2 changes: 1 addition & 1 deletion tests/test_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_excess_delimited_line(self):
self.proto._rcvd_line = None
self.proto.dataReceived(s)
self.assertFalse(self.transport.connected)
self.assertIsNone(self.proto._rcvd_line)
self.assertIs(self.proto._rcvd_line, None)

def test_clear_line_buffer(self):
self.proto.dataReceived(self.S)
Expand Down

0 comments on commit 2888263

Please sign in to comment.