diff options
| author | Mattias Andrée <maandree@operamail.com> | 2014-03-07 15:28:48 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2014-03-07 15:28:48 +0100 |
| commit | 82bf4bdfc282ecee2f7da4b2cd1f5f14641d8dc8 (patch) | |
| tree | 07ff8efcc2f6f858d3e4faf68baa765c728dc329 | |
| parent | m (diff) | |
| download | join-python-82bf4bdfc282ecee2f7da4b2cd1f5f14641d8dc8.tar.gz join-python-82bf4bdfc282ecee2f7da4b2cd1f5f14641d8dc8.tar.bz2 join-python-82bf4bdfc282ecee2f7da4b2cd1f5f14641d8dc8.tar.xz | |
remove test stuff
Signed-off-by: Mattias Andrée <maandree@operamail.com>
| -rwxr-xr-x | src/join.py (renamed from src/test.py) | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test.py b/src/join.py index a864e18..b33094d 100755 --- a/src/test.py +++ b/src/join.py @@ -18,8 +18,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ''' -import time - import random import threading @@ -118,24 +116,3 @@ def concurrently(*fs): for t in ts: ts.join() - -class test: - @signal - def signal(f, *args): - f(*args) - return 'test' - - @fragment - def fragment(*args, **kwargs): - pass - - def join(param): - (jargs, jkwargs) = join(test.fragment) - print(param, dict(jkwargs), *jargs) - - -s = test.signal(test.join, 'join') -time.sleep(1) -test.fragment('arg1', 'arg2', a = 'A', b = 'B') -print(s.join()) - |
