Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new: dev: @refactor Turned runner into a package to allow multiple im…
…plementations Right now, only the old runner (pyvows.runner.gevent) is the only one that works. However, it passes tests for me, and the ABC class for runners will (in the future) allow pyvows to use the best available means to run tests according to the users’ system.
- Loading branch information
Zearin
committed
May 27, 2013
1 parent
83d12bd
commit 6bf8345
Showing
9 changed files
with
406 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
'''This package contains different runtime implementations for PyVows. PyVows will | ||
select the fastest possible runner, using fallbacks if unavailable. | ||
''' | ||
|
||
|
||
try: | ||
## GEvent | ||
from pyvows.runner.gevent import VowsParallelRunner as VowsRunner | ||
except ImportError as e: | ||
## Sequential | ||
from pyvows.runner.sequential import VowsSequentialRunner as VowsRunner | ||
finally: | ||
__all__ = ('VowsRunner') |
Oops, something went wrong.