Builder doesn't use parent in different scope - Issue #102

This commit is contained in:
Roger Maitland 2023-02-25 14:03:49 -05:00
parent 74c8ff500e
commit 0ae15a463b
2 changed files with 39 additions and 18 deletions

View file

@ -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),