Skip to content

Commit

Permalink
Update pytest api (#103)
Browse files Browse the repository at this point in the history
* update new pytest api

* update version to a new release.

* reference the correct object

* i suck at this
  • Loading branch information
tonyfast committed Aug 5, 2020
1 parent 638aa9a commit f3722b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/importnb/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.1"
__version__ = "0.6.2"
2 changes: 2 additions & 0 deletions src/importnb/utils/pytest_importnb.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ def __call__(self, parent, path):
break
else:
return
if hasattr(module, "from_parent"):
return module.from_parent(parent, fspath=path)
return module(path, parent)


Expand Down

0 comments on commit f3722b8

Please sign in to comment.