mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-20983 (partial fix): do not break if python target is module.
This fix is critical anyway, because running module as python is common
This commit is contained in:
@@ -0,0 +1 @@
|
||||
A = 1
|
||||
@@ -0,0 +1,9 @@
|
||||
import unittest
|
||||
|
||||
from .stubs import A
|
||||
|
||||
class TestSomeClass(unittest.TestCase):
|
||||
def test_some_class(self):
|
||||
some_class = A
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user