Skip to content

Commit 0f313e4

Browse files
committed
Drop slow attribute for tests
1 parent 8d91453 commit 0f313e4

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

bpython/test/test_args.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,7 @@
77
from bpython import args
88
from bpython.test import FixLanguageTestCase as TestCase, unittest
99

10-
try:
11-
from nose.plugins.attrib import attr
12-
except ImportError:
1310

14-
def attr(*args, **kwargs):
15-
def identity(func):
16-
return func
17-
18-
return identity
19-
20-
21-
@attr(speed="slow")
2211
class TestExecArgs(unittest.TestCase):
2312
def test_exec_dunder_file(self):
2413
with tempfile.NamedTemporaryFile(mode="w") as f:

bpython/test/test_crashers.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@ class TrialTestCase:
2828
except ImportError:
2929
have_urwid = False
3030

31-
try:
32-
from nose.plugins.attrib import attr
33-
except ImportError:
34-
35-
def attr(*args, **kwargs):
36-
def identity(func):
37-
return func
38-
39-
return identity
40-
4131

4232
def set_win_size(fd, rows, columns):
4333
s = struct.pack("HHHH", rows, columns, 0, 0)
@@ -109,7 +99,6 @@ def processExited(self, reason):
10999
)
110100
return result
111101

112-
@attr(speed="slow")
113102
def test_issue108(self):
114103
input = textwrap.dedent(
115104
"""\
@@ -121,7 +110,6 @@ def spam():
121110
deferred = self.run_bpython(input)
122111
return deferred.addCallback(self.check_no_traceback)
123112

124-
@attr(speed="slow")
125113
def test_issue133(self):
126114
input = textwrap.dedent(
127115
"""\

0 commit comments

Comments
 (0)