Skip to content
Snippets Groups Projects
Commit 852ac210 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

build breaks if the directory is too much nested

parent d488e802
No related branches found
No related tags found
No related merge requests found
import logging
import typing as tp
logger = logging.getLogger(__name__)
import logging
import typing as tp
logger = logging.getLogger(__name__)
import logging
import typing as tp
logger = logging.getLogger(__name__)
def test(a, b):
return a+b
......@@ -11,7 +11,8 @@ cython_multibuilds = [
Multibuild('example_module', ['example_module\\test.pyx', 'example_module/test2.pyx',
'example_module/test3/test3.pyx',
'example_module/test_n.c']),
Extension('example2.example', ['example2/example.pyx'])
Extension('example2.example', ['example2/example.pyx']),
Multibuild('example3.example3.example3', ['example3/example3/example3/test.pyx'])
]
# first argument is used directly by snakehouse, the rest and **kwargs are passed to
......
......@@ -2,10 +2,14 @@ from example_module.test import times_two
from example_module.test2 import times_three, times_five
from example_module.test3.test3 import times_four
from example2.example import test
from example3.example3.example3.test import test as test_three
import unittest
class TestExample(unittest.TestCase):
def test_three(self):
self.assertEqual(test_three(2, 3), 5)
def test_test(self):
self.assertEqual(test(2, 3), 5)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment