Skip to content

Commit

Permalink
fix isort, pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Mar 14, 2023
1 parent 221eedf commit e4bae2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pytools/debug.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys
from typing import Collection, List, Optional, Set

from pytools import memoize
from typing import List, Set, Optional, Collection


# {{{ debug files -------------------------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions test/test_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
THE SOFTWARE.
"""

import sys

import pytest


@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="not support on PYPY")
def test_get_object_cycles():
from pytools.debug import get_object_cycles
assert len(get_object_cycles([])) == 0
Expand Down

0 comments on commit e4bae2a

Please sign in to comment.