import pickle
import sys

import six
import pytest
pytest.importorskip('twisted')
from twisted.python.failure import Failure

from tblib import pickling_support


def test_30():
    pickling_support.install()

    try:
        raise ValueError
    except ValueError:
        s = pickle.dumps(sys.exc_info())

    f = None
    try:
        six.reraise(*pickle.loads(s))
    except ValueError:
        f = Failure()

    assert f is not None

@@ -30,25 +30,76 @@
 ort 
-six%0Aimport pytest
+pytest%0Aimport six%0A%0Afrom tblib import pickling_support  # noqa: E402%0A
 %0Apyt
@@ -126,16 +126,37 @@
 isted')%0A
+%0A%0Adef test_30():%0A    
 from twi
@@ -195,60 +195,8 @@
 re%0A%0A
-from tblib import pickling_support%0A%0A%0Adef test_30():%0A
     

Fix flake8 errors