moreati / b-prefix-all-the-doctests Goto Github PK
View Code? Open in Web Editor NEWExperiment in doctests for strings on Python 2.x and 3.x
License: Apache License 2.0
Experiment in doctests for strings on Python 2.x and 3.x
License: Apache License 2.0
See https://travis-ci.org/jayvdb/bibliograph.core/builds/108444977
On Python 2
File "/home/travis/build/jayvdb/bibliograph.core/bibliograph/core/utils.py", line 259, in bibliograph.core.utils.bin_search
Failed example:
bin_search('python') != ''
Exception raised:
Traceback (most recent call last):
File "/opt/python/2.7.9/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest bibliograph.core.utils.bin_search[2]>", line 1, in <module>
bin_search('python') != ''
File "build/bdist.linux-x86_64/egg/pretext.py", line 166, in bdisplayhook
_displayhook(value, brepr)
File "build/bdist.linux-x86_64/egg/pretext.py", line 149, in _displayhook
text = repr_fn(value)
File "/opt/python/2.7.9/lib/python2.7/repr.py", line 24, in repr
return self.repr1(x, self.maxlevel)
File "/opt/python/2.7.9/lib/python2.7/repr.py", line 34, in repr1
...
On Python 3
File "/home/travis/build/jayvdb/bibliograph.core/bibliograph/core/utils.py", line 259, in bibliograph.core.utils.bin_search
Failed example:
bin_search('python') != ''
Expected:
True
Got:
<bool instance at 7f445cf4e560>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.