Skip to content

Commit 4e04686

Browse files
fix isort, pypy
1 parent 33cd730 commit 4e04686

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pytools/debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys
2+
from typing import Collection, List, Optional, Set
23

34
from pytools import memoize
4-
from typing import List, Set, Optional, Collection
55

66

77
# {{{ debug files -------------------------------------------------------------

test/test_debug.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020
THE SOFTWARE.
2121
"""
2222

23+
import sys
2324

25+
import pytest
26+
27+
28+
@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="not support on PYPY")
2429
def test_get_object_cycles():
2530
from pytools.debug import get_object_cycles
2631
assert len(get_object_cycles([])) == 0

0 commit comments

Comments
 (0)