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
| try: | |
| __import__('pkg_resources').declare_namespace(__name__) | |
| except ImportError: | |
| from pkgutil import extend_path | |
| __path__ = extend_path(__path__, __name__) |
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 setup.py install for lxml | |
| Building lxml version 2.3.1. | |
| Building without Cython. | |
| ERROR: /bin/sh: xslt-config: not found | |
| ** make sure the development packages of libxml2 and libxslt are installed ** | |
| Using build configuration of libxslt | |
| building 'lxml.etree' extension | |
| gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.6/src/lxml/lxml.etree.o -w |
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 json | |
| from pprint import pprint as pp | |
| io = open('board.json') | |
| board = json.loads(io.read()) | |
| def connceted_four(x, y, char, seen=1): | |
| if seen is 4: | |
| return True |
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 json | |
| from pprint import pprint as pp | |
| io = open('board.json') | |
| board = json.loads(io.read()) | |
| def connceted_four(x, y, char, seen=1): | |
| if seen is 4: | |
| return True |
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 json | |
| import sys | |
| from pprint import pprint as pp | |
| # io = open('board.json') | |
| io = sys.stdin | |
| board = json.loads(io.read()) | |
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 json | |
| import sys | |
| from pprint import pprint as pp | |
| # io = open('board.json') | |
| io = sys.stdin | |
| board = json.loads(io.read()) | |
| add_one = lambda x, y: x + y |
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 json | |
| import sys | |
| board = json.loads(sys.stdin.read()) | |
| add_one = lambda x, y: x + y | |
| subtract_one = lambda x, y: x - y | |
| no_op = lambda x, y: x | |
| transforms = ( |
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 json | |
| import sys | |
| board = json.loads(sys.stdin.read()) | |
| add_one = lambda x, y: x + y | |
| subtract_one = lambda x, y: x - y | |
| no_op = lambda x, y: x | |
| transforms = ( |
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
| ====================================================================== | |
| FAIL: tests.unit.disqus.stats.scribe.tests:StripPathTest.test | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/www/disqus.com/releases/master/tests/unit/disqus/stats/scribe/tests.py", line 15, in test | |
| self.assertEqual(category, scribe.strip_path(test_path)) | |
| AssertionError: 'foo.bar' != '' | |
| ====================================================================== | |
| FAIL: tests.unit.disqus.stats.scribe.tests:StripPathTest.test_trailing_digits |
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
| (env)vagrant@dsq-vagrant:~/disqus$ python ci/update_integration_test_apps.py | |
| Updating disqus-integration app matrix config | |
| -------------------------------------------------------------------------------- | |
| - tests/integration/cache | |
| - tests/integration/context_processors | |
| - tests/integration/db | |
| - tests/integration/exporter | |
| - tests/integration/firehose | |
| - tests/integration/notifications | |
| - tests/integration/queue |