Skip to content

Commit

Permalink
MISC: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Nov 13, 2023
1 parent be40293 commit ee95c21
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/legacy_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: "Executing legacy unit tests"
run: |
pytest -m "legacy and unit" -n 6 -v
pytest -m "legacy and unit" -n auto -v
- name: "Executing legacy system tests (distributing on multiple CPUs)"
run: |
Expand Down
1 change: 0 additions & 1 deletion src/pyedb/legacy/edb_core/edb_data/padstacks_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,6 @@ def __init__(self, edb_padstackinstance, _pedb):
self._position = []
self._pdef = None

@property
def get_terminal(self, name=None, create_new_terminal=False):
"""Return PadstackInstanceTerminal object.
Parameters
Expand Down
3 changes: 1 addition & 2 deletions tests/legacy/system/test_edb_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ def test_export_to_ipc2581_0(self):
assert os.path.exists(xml_file)
edbapp.close()

@pytest.mark.no_xdist
@pytest.mark.xfail(reason="This test is expected to crash (sometimes) at `ipc_edb.close()`", strict=False)
@pytest.mark.xfail(reason="This test is expected to crash (sometimes) at `ipc_edb.close()`")
def test_export_to_ipc2581_1(self):
"""Export of a loaded aedb file to an XML IPC2581 file"""
source_path = os.path.join(local_path, "example_models", test_subfolder, "ANSYS-HSD_V1.aedb")
Expand Down
1 change: 0 additions & 1 deletion tests/legacy/unit/test_materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ class TestClass:
def init(self):
self.materials = Materials(MagicMock(materials=["copper"]))

@pytest.mark.current
@patch("pyedb.legacy.edb_core.materials.Materials.materials", new_callable=PropertyMock)
@patch.object(builtins, "open", new_callable=mock_open, read_data=MATERIALS)
def test_materials_read_materials(self, mock_file_open, mock_materials_property):
Expand Down

0 comments on commit ee95c21

Please sign in to comment.