Skip to content

Commit

Permalink
Merge pull request #224 from pyiron/correct_test
Browse files Browse the repository at this point in the history
[minor] Correct test
  • Loading branch information
samwaseda committed Feb 22, 2024
2 parents 99f57d8 + 7ec7bd8 commit e1cd6e6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ dependencies:
- pyiron_atomistics =0.4.15
- pyiron-data =0.0.27
- numpy =1.26.4
- pip: []
1 change: 0 additions & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ dependencies:
- python-graphviz =0.20.1
- toposort =1.10
- typeguard =4.1.5
- pip: []
2 changes: 1 addition & 1 deletion tests/unit/test_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class TestFunction(unittest.TestCase):
def test_instantiation(self):
with self.subTest("Void function is allowable"):
void_node = Function(void)
self.assertEqual(len(void_node.outputs), 0)
self.assertEqual(len(void_node.outputs), 1)

with self.subTest("Args and kwargs at initialization"):
node = Function(plus_one)
Expand Down

0 comments on commit e1cd6e6

Please sign in to comment.