Skip to content

Commit f8cf39e

Browse files
committed
Change sys.path in not_impl_gen.py
1 parent 982b2f2 commit f8cf39e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/not_impl_gen.py

+7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
import os
77
import sys
88

9+
sys.path = list(
10+
filter(
11+
lambda path: "site-packages" not in path and "dist-packages" not in path,
12+
sys.path,
13+
)
14+
)
15+
916

1017
def attr_is_not_inherited(type_, attr):
1118
"""

0 commit comments

Comments
 (0)