Commit 9a06407f authored by Denis Bilenko's avatar Denis Bilenko

remove unused 'invalid_callback_message' attributes

parent 65a7a2bb
......@@ -174,8 +174,6 @@ class TestCase(greentest.TestCase):
class TestDefaultSpawn(TestCase):
invalid_callback_message = 'Ignoring TypeError in <Greenlet'
def get_spawn(self):
return gevent.spawn
......@@ -294,8 +292,6 @@ class TestDefaultSpawn(TestCase):
class TestRawSpawn(TestDefaultSpawn):
invalid_callback_message = 'Ignoring TypeError <callback'
def get_spawn(self):
return gevent.spawn_raw
......@@ -325,8 +321,6 @@ class TestPoolSpawn(TestDefaultSpawn):
class TestNoneSpawn(TestCase):
invalid_callback_message = '<.*?>: Failed to handle'
def get_spawn(self):
return None
......
......@@ -78,13 +78,6 @@ class Settings:
test__server.Settings = Settings
msg = '<.*?>: Failed to handle...'
TestNoneSpawn.invalid_callback_message = msg
TestRawSpawn.invalid_callback_message = msg
TestPoolSpawn.invalid_callback_message = msg
TestDefaultSpawn.invalid_callback_message = msg
del TestNoneSpawn
if __name__ == '__main__':
......
......@@ -36,12 +36,6 @@ class Settings(http_Settings):
test__server.Settings = Settings
msg = '<.*?>: Failed to handle...'
TestNoneSpawn.invalid_callback_message = msg
TestRawSpawn.invalid_callback_message = msg
TestPoolSpawn.invalid_callback_message = msg
TestDefaultSpawn.invalid_callback_message = msg
if __name__ == '__main__':
unittest.main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment