Skip to content

Instantly share code, notes, and snippets.

@eltjpm
Created August 6, 2013 15:49
Show Gist options
  • Save eltjpm/6165755 to your computer and use it in GitHub Desktop.
Save eltjpm/6165755 to your computer and use it in GitHub Desktop.
Index: athena/src/numba/numba/testing/test_support.py
===================================================================
--- athena/src/numba/numba/testing/test_support.py (revision 83646)
+++ athena/src/numba/numba/testing/test_support.py (revision 83647)
@@ -184,6 +184,7 @@
pass
TestCase.__name__ = func.__name__
+ TestCase.__module__ = func.__module__
names = named_parameters.keys()
values = parameters or itertools.product(*named_parameters.values())
@@ -203,7 +204,6 @@
setattr(TestCase, name, testfunc)
-
func.__globals__[func.__name__ + '_testcase'] = TestCase
return func
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment