• Jason Madden's avatar
    Python 2: Correct errors from async closed sockets. · 8bd70641
    Jason Madden authored
    Previously we would create a AttributeError, instead of the preferred socket.error(EBADF).
    
    Python 3 already did the right thing.
    
    Discovered because of bad test coverage in test__hub.py that wasn't doing what we thought.
    
    Incremental work on increasing test coverage.
    8bd70641
test__exc_info.py 1.35 KB