~ubuntu-branches/ubuntu/vivid/python-gevent/vivid

« back to all changes in this revision

Viewing changes to greentest/test__socket_errors.py

  • Committer: Bazaar Package Importer
  • Author(s): Örjan Persson
  • Date: 2011-05-17 16:43:20 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110517164320-844bxblhlra65dml
Tags: 0.13.6-1
New upstream version (Closes: #601863).

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
except ImportError:
28
28
    from errno import ECONNREFUSED
29
29
 
 
30
 
30
31
class TestSocketErrors(greentest.TestCase):
31
32
 
32
33
    def test_connection_refused(self):
38
39
            assert 'refused' in str(ex).lower(), str(ex)
39
40
 
40
41
 
41
 
if __name__=='__main__':
 
42
if __name__ == '__main__':
42
43
    greentest.main()
43