Skip to content

Commit 3f51c9e

Browse files
committed
fixing rtd and argspec
1 parent 03bc2f0 commit 3f51c9e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

readthedocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ build:
88
python:
99
install:
1010
- requirements: requirements.txt
11+
- method: pip
12+
path: .
13+
extra_requirements:
14+
- docs
15+
- web
1116

1217
sphinx:
1318
configuration: docs/sphinx/conf.py

tests/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _should_skip(filter_values, fixture_value, prop_name):
6161
@decorator
6262
def decorated_function(ff, *args, **kwargs):
6363

64-
ff_attr_names = inspect.getargspec(ff).args
64+
ff_attr_names = inspect.getfullargspec(ff).args
6565
ff_attrs = {}
6666
for ii in range(len(args)):
6767
ff_attrs[ff_attr_names[ii]] = args[ii]
@@ -111,4 +111,3 @@ def __call__(self, decorated_class):
111111
marvin_test_if(*self.args,
112112
**self.kwargs)(getattr(decorated_class, attr[0])))
113113
return decorated_class
114-

0 commit comments

Comments
 (0)