Skip to content

Commit

Permalink
Merge pull request #668 from pyiron/move_tests_to_unit_folder
Browse files Browse the repository at this point in the history
Move tests to unit folder
  • Loading branch information
liamhuber authored May 8, 2023
2 parents d0da2e2 + 1796967 commit b6a1fb3
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyiron_contrib/protocol/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Distributed under the terms of "New BSD License", see the LICENSE file.

from logging import getLogger
from inspect import getargspec
from inspect import getfullargspec
from pydoc import locate
from itertools import islice
import re
Expand Down Expand Up @@ -79,7 +79,7 @@ def requires_arguments(func):
Returns: (bool) wether arguments (except "self" for methods) are needed
"""
args, varargs, varkw, defaults = getargspec(func)
args, varargs, varkw, defaults, _, _, _ = getfullargspec(func)
if defaults:
args = args[:-len(defaults)]
# It could be a bound method too
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b6a1fb3

Please sign in to comment.