This file contains hidden or 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
# Copyright (C) 2011 Vinay Sajip. All rights reserved. | |
# Encapsulate socket servers into an easy-to-use package | |
try: # Python 2.X | |
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler | |
from SocketServer import ThreadingUDPServer, DatagramRequestHandler, \ | |
ThreadingTCPServer, StreamRequestHandler | |
except ImportError: # Python 3.X | |
from http.server import HTTPServer, BaseHTTPRequestHandler | |
from socketserver import ThreadingUDPServer, DatagramRequestHandler, \ |
This file contains hidden or 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
import asynchat | |
import asyncore | |
import errno | |
import logging | |
import logging.handlers | |
import smtpd | |
import socket | |
import sys | |
import threading |
This file contains hidden or 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
(wtforms)vinay@eta-natty:~/tools/wtforms-xhtml/tests$ python runtests.py ext_xhtml | |
........................................................................................................................................ | |
---------------------------------------------------------------------- | |
Ran 136 tests in 0.035s | |
OK |
This file contains hidden or 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
#!/usr/bin/env python | |
import asynchat | |
import asyncore | |
from email.utils import formatdate | |
import errno | |
import smtpd | |
import smtplib | |
import socket | |
import threading | |
import unittest |
This file contains hidden or 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
# Copyright (C) 2011 Vinay Sajip. All rights reserved. | |
# -*- coding: UTF-8 -*- | |
import babel.core | |
import babel.dates | |
import datetime | |
import re | |
time_locale = babel.core.default_locale('LC_TIME') | |
def parse_date(string, locale=time_locale, fmt=None): |
This file contains hidden or 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
running test | |
running egg_info | |
writing Babel.egg-info/PKG-INFO | |
writing top-level names to Babel.egg-info/top_level.txt | |
writing dependency_links to Babel.egg-info/dependency_links.txt | |
writing entry points to Babel.egg-info/entry_points.txt | |
reading manifest file 'Babel.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
warning: no files found matching 'doc/api/*.*' | |
warning: no files found matching 'doc/*.html' |
This file contains hidden or 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
running test | |
running egg_info | |
writing requirements to Elixir.egg-info/requires.txt | |
writing Elixir.egg-info/PKG-INFO | |
writing top-level names to Elixir.egg-info/top_level.txt | |
writing dependency_links to Elixir.egg-info/dependency_links.txt | |
reading manifest file 'Elixir.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
warning: no previously-included files found matching 'release.howto' | |
writing manifest file 'Elixir.egg-info/SOURCES.txt' |
This file contains hidden or 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
Index: tests/test_options.py | |
=================================================================== | |
--- tests/test_options.py (revision 534) | |
+++ tests/test_options.py (working copy) | |
@@ -2,9 +2,15 @@ | |
test options | |
""" | |
+from nose import SkipTest | |
+import sqlalchemy |
This file contains hidden or 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
test_analysis.test_regextokenizer ... ok | |
test_analysis.test_composition1 ... ok | |
test_analysis.test_composition2 ... ok | |
test_analysis.test_composition3 ... ok | |
test_analysis.test_composing_functions ... ok | |
test_analysis.test_shared_composition ... ok | |
test_analysis.test_multifilter ... ok | |
test_analysis.test_intraword ... ok | |
test_analysis.test_biword ... ok | |
test_analysis.test_shingles ... ok |
This file contains hidden or 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
Creating a virtual environment in a target directory ... | |
============================================================================= | |
vinay@eta-natty:~$ python3.3 -m virtualize /tmp/venv | |
Installing distribute ....................................................... | |
............................................................................. | |
............................................................................. | |
............................................................................. | |
.....................................................done. | |
============================================================================= | |
You can add --no-dist to avoid installing Distribute, but then you can only |