mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-15 15:20:37 -08:00
Builder doesn't use parent in different scope - Issue #102
This commit is contained in:
parent
74c8ff500e
commit
0ae15a463b
2 changed files with 39 additions and 18 deletions
|
|
@ -138,7 +138,6 @@ class TestShapeList(unittest.TestCase):
|
|||
(False, False),
|
||||
]:
|
||||
with self.subTest(axis=axis, inclusive=inclusive):
|
||||
|
||||
faces = test.faces().filter_by_position(axis, -1, 1, inclusive)
|
||||
edges = test.edges().filter_by_position(axis, -1, 1, inclusive)
|
||||
self.assertTrue(isinstance(faces, list))
|
||||
|
|
@ -510,8 +509,7 @@ class TestLocations(unittest.TestCase):
|
|||
|
||||
|
||||
class TestVectorExtensions(unittest.TestCase):
|
||||
def test_vector_locationation(self):
|
||||
WorkplaneList._get_context().__exit__(None, None, None)
|
||||
def test_vector_localization(self):
|
||||
self.assertTupleAlmostEquals(
|
||||
(Vector(1, 1, 1) + (1, 2)).to_tuple(),
|
||||
(2, 3, 1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue