Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Add *args and **kwargs to no_op function in notebook support check #24

Merged
merged 1 commit into from
Sep 7, 2017

Conversation

jisantuc
Copy link
Contributor

@jisantuc jisantuc commented Sep 7, 2017

Overview

When the function that fails the notebook check takes arguments, those arguments get passed to whatever the @check_notebook decorator returns. Since no_op takes no arguments, this causes a TypeError in real life that wasn't exercised by the test. This PR fixes the no_op function the decorator returns and adds a test that exercises this case.

Testing

  • verify that the new test exercises this problem

Closes nothing

@notthatbreezy notthatbreezy merged commit 0d5a24d into develop Sep 7, 2017
@notthatbreezy notthatbreezy deleted the feature/js/fix-check-notebook-decorator branch September 7, 2017 15:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants