Skip to content

Commit

Permalink
Fix tests maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Jul 19, 2016
1 parent 381a108 commit 0a108b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keras/utils/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import numpy as np
from numpy.testing import assert_allclose
import inspect
import functools

from ..engine import Model, Input
from ..models import Sequential, model_from_json
Expand Down Expand Up @@ -107,6 +108,7 @@ def layer_test(layer_cls, kwargs={}, input_shape=None, input_dtype=None,
def keras_test(func):
'''Clean up after tensorflow tests.
'''
@functools.wraps(func)
def wrapper(*args, **kwargs):
output = func(*args, **kwargs)
if K._BACKEND == 'tensorflow':
Expand Down

0 comments on commit 0a108b3

Please sign in to comment.