Skip to content

Commit

Permalink
Merge pull request #409 from alex/flake8-cleanup
Browse files Browse the repository at this point in the history
Fixed up some flake8 errors from the latest version
  • Loading branch information
reaperhulk committed Jan 16, 2016
2 parents b3316fc + d809a58 commit a85b47e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 26 deletions.
8 changes: 2 additions & 6 deletions src/OpenSSL/tsafe.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
from OpenSSL import SSL
_ssl = SSL
del SSL
from threading import RLock as _RLock

import threading
_RLock = threading.RLock
del threading
from OpenSSL import SSL as _ssl


class Connection:
Expand Down
9 changes: 6 additions & 3 deletions tests/memdbg.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import sys
sys.modules['ssl'] = None
sys.modules['_hashlib'] = None


import traceback

from cffi import api as _api


sys.modules['ssl'] = None
sys.modules['_hashlib'] = None


_ffi = _api.FFI()
_ffi.cdef(
"""
Expand Down
17 changes: 0 additions & 17 deletions tests/runtests.py

This file was deleted.

0 comments on commit a85b47e

Please sign in to comment.