1 file changed
@@ -8,7 +8,14 @@ | |||
| 8 | 8 | except ImportError: | |
| 9 | 9 | import unittest | |
| 10 | 10 | ||
| 11 | + try: | ||
| 12 | + from nose.plugins.attrib import attr | ||
| 13 | + except ImportError: | ||
| 14 | + def attr(func, *args, **kwargs): | ||
| 15 | + return func | ||
| 16 | + | ||
| 11 | 17 | ||
| 18 | + @attr(speed='slow') | ||
| 12 | 19 | class TestExecArgs(unittest.TestCase): | |
| 13 | 20 | def test_exec_dunder_file(self): | |
| 14 | 21 | with tempfile.NamedTemporaryFile(mode="w") as f: | |
0 commit comments