pybites.blogspot.com
Python bytes: Six: Python 2/3 compatibility helpers
http://pybites.blogspot.com/2010/06/six-python-23-compatibility-helpers.html
Tuesday, June 29, 2010. Six: Python 2/3 compatibility helpers. Increasingly, I've seen a movement towards supporting Python 2 and Python 3 in the same code base. Having ported a few. Myself, I decided to collect the code I've duplicated between them into a library. The result is six. It includes fake byte and unicode literals,. And has wrappers for syntax changes such as. You can check out the documentation on PyPi. This is exactly what Ive been looking for. Thanks for sharing! June 30, 2010 at 9:19 AM.
libvcs.git-pull.com
Development — libvcs 0.2.3 documentation
http://libvcs.git-pull.com/en/latest/developing.html
Our tests are inside. Tests are implemented using pytest. Install the latest code from git. To begin developing, check out the code from github:. Git clone [email protected]. Tony/libvcs.git $ cd. Now create a virtualenv, if you don’t know how to, you can create a virtualenv with:. Then activate it to current tty / terminal session with:. Now let’s run this:. Pip install -r requirements/test.txt -e . A python package manager install the python package in the current directory. As you seen above, the.
pybites.blogspot.com
Python bytes: Behind the scenes of py.test's new assertion rewriting
http://pybites.blogspot.com/2011/07/behind-scenes-of-pytests-new-assertion.html
Saturday, July 9, 2011. Behind the scenes of py.test's new assertion rewriting. 21 was just released. Pytest, which uses the Python assert statement to check test conditions. Has long had support for displaying intermediate values in subexpressions of a failing assert statement. This feature is called assertion introspection. Historically, py.test performed assertion introspection by. Is a new assertion introspection technique called. Assertion rewriting modifies the AST. Import hook to capture test modu...
pybites.blogspot.com
Python bytes: June 2010
http://pybites.blogspot.com/2010_06_01_archive.html
Tuesday, June 29, 2010. Six: Python 2/3 compatibility helpers. Increasingly, I've seen a movement towards supporting Python 2 and Python 3 in the same code base. Having ported a few. Myself, I decided to collect the code I've duplicated between them into a library. The result is six. It includes fake byte and unicode literals,. And has wrappers for syntax changes such as. You can check out the documentation on PyPi. Subscribe to: Posts (Atom). Six: Python 2/3 compatibility helpers.
pybites.blogspot.com
Python bytes: July 2011
http://pybites.blogspot.com/2011_07_01_archive.html
Saturday, July 9, 2011. Behind the scenes of py.test's new assertion rewriting. 21 was just released. Pytest, which uses the Python assert statement to check test conditions. Has long had support for displaying intermediate values in subexpressions of a failing assert statement. This feature is called assertion introspection. Historically, py.test performed assertion introspection by. Is a new assertion introspection technique called. Assertion rewriting modifies the AST. Import hook to capture test modu...
christianlong.com
Christian Long's Blog
http://www.christianlong.com/blog
Jun 23, 2015. Van Lindberg’s List of Security Practices. Chair of the Python Software Foundation. A list of security best practices. For my information and future reference, I’m gathering them here. Thorough negative testing. Cause failures with test cases. Fuzz with address checking and standard alloc. Compiling with address checking and standard memory alloc. Focused manual spotcheck validation of fields. Fuzzing w/ output examination. Context-sensitive source code analysis. Use more than 1. S s(tep) E...
holgerkrekel.net
testing | metaprogramming and politics
https://holgerkrekel.net/category/testing
Decentralize. Take the red pill. Archive for the ‘ testing. Running tests against multiple devices/resources (in parallel). How to best distribute tests against multiple devices or resources with pytest? This interesting question came up during my training in Lviv (Ukraine) at an embedded systems company. Distributing tests to processes can serve two purposes:. Running the full test suite against each device to verify they all work according to the test specification. The general fixture mechanism. Conte...
holgerkrekel.net
Running tests against multiple devices/resources (in parallel) | metaprogramming and politics
https://holgerkrekel.net/2013/11/12/running-tests-against-multiple-devicesresources-in-parallel
Decentralize. Take the red pill. Running tests against multiple devices/resources (in parallel). How to best distribute tests against multiple devices or resources with pytest? This interesting question came up during my training in Lviv (Ukraine) at an embedded systems company. Distributing tests to processes can serve two purposes:. Running the full test suite against each device to verify they all work according to the test specification. The solution to both problems is easy if you use two pytest.
astroplan.readthedocs.io
Reference/API — astroplan v0.3.dev911
http://astroplan.readthedocs.io/en/latest/api.html
Astroplan v0.3.dev911. Astroplan is an open source (BSD licensed) observation planning package for astronomers that can help you plan for everything but the clouds. It is an in-development Astropy. That seeks to make your life as an observational astronomer a little less infuriating. Code: https:/ github.com/astropy/astroplan. Docs: https:/ astroplan.readthedocs.io/. Download and cache the IERS Bulletin A table. Get IERS A or workaround. Get the cached IERS Bulletin A table if one exists. Superclass for ...