From 2bc872cf7fcdd4247f83ec2f7ced5bc466fc73b7 Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Mon, 2 Jul 2018 15:35:09 +0200 Subject: [PATCH] Fix isort (#493) --- pwndbg/heap/heap.py | 1 - pwndbg/inthook.py | 2 +- tests/conftest.py | 1 - tests/test_loads.py | 1 + tests/test_memory.py | 2 +- 5 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pwndbg/heap/heap.py b/pwndbg/heap/heap.py index 64087c5f1..240ff710a 100644 --- a/pwndbg/heap/heap.py +++ b/pwndbg/heap/heap.py @@ -53,4 +53,3 @@ class BaseHeap(object): A boolean. """ raise NotImplementedError() - diff --git a/pwndbg/inthook.py b/pwndbg/inthook.py index 4192a7253..38b9191e1 100644 --- a/pwndbg/inthook.py +++ b/pwndbg/inthook.py @@ -15,9 +15,9 @@ import os import gdb import six +from future.utils import with_metaclass import pwndbg.typeinfo -from future.utils import with_metaclass if six.PY2: import __builtin__ as builtins diff --git a/tests/conftest.py b/tests/conftest.py index 2a73a81ee..d217a678e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -7,7 +7,6 @@ from __future__ import print_function from __future__ import unicode_literals import gdb - import pytest diff --git a/tests/test_loads.py b/tests/test_loads.py index d9a76907a..d88cbc822 100644 --- a/tests/test_loads.py +++ b/tests/test_loads.py @@ -12,6 +12,7 @@ import subprocess import tempfile import pytest + import tests diff --git a/tests/test_memory.py b/tests/test_memory.py index 95fbf6448..039ea67b5 100644 --- a/tests/test_memory.py +++ b/tests/test_memory.py @@ -4,10 +4,10 @@ from __future__ import print_function from __future__ import unicode_literals import gdb +import pytest import pwndbg.memory import pwndbg.stack -import pytest def test_memory_read_write(entry_binary):