I hereby claim:
- I am jpellerin on github.
- I am jpellerin (https://keybase.io/jpellerin) on keybase.
- I have a public key whose fingerprint is 280C EE9B 4E77 306D 2453 B567 423C D64D BEE0 8BEE
To claim this, I am signing this object:
| require "http/server" | |
| require "./cwe/*" | |
| module Cwe | |
| class Route | |
| getter callback | |
| PARAM = /:([\w\d_]+)/ | |
| def initialize(@path, @callback : HTTP::Request -> _) |
| >>> import datetime | |
| >>> def hello(date=datetime.datetime.now()): | |
| ... print date | |
| ... print datetime.datetime.now() | |
| ... | |
| >>> hello() | |
| 2015-04-08 20:38:06.231901 | |
| 2015-04-08 20:38:12.647230 | |
| >>> hello() | |
| 2015-04-08 20:38:06.231901 |
I hereby claim:
To claim this, I am signing this object:
| <html> | |
| <head> | |
| <style> | |
| .goo { font-family: sans-serif; } | |
| .boo { color: #999 }; | |
| </style> | |
| </head> | |
| <body> | |
| <ol class="{{ things }} listy {{ stuff }}"> | |
| {{#people}} |
| Upcoming releases! | |
| Scott Lynch - Republic of Thieves - 10/8 | |
| Recent | |
| Guy Gavriel Kay - Sailing to Sarantium - 9 | |
| Cat Valente - Six Gun Snow White - 10 | |
| Lev Grossman - The Magicians - 7 |
| ## the plugin | |
| from nose.plugins import Plugin | |
| import thedecorators | |
| import thingtwo | |
| class Swapper(Plugin): | |
| enableOpt = 'swap' |
| diff -r fda1e996260d nose/ext/dtcompat.py | |
| --- a/nose/ext/dtcompat.py Tue May 05 19:22:53 2009 -0400 | |
| +++ b/nose/ext/dtcompat.py Mon Sep 07 17:25:13 2009 -0700 | |
| @@ -247,6 +247,8 @@ | |
| # Override some StringIO methods. | |
| class _SpoofOut(StringIO): | |
| + fileno = lambda self : 1 | |
| + | |
| def getvalue(self): |
| diff -r 34c6847853b7 nose/plugins/doctests.py | |
| --- a/nose/plugins/doctests.py Fri Oct 09 18:40:28 2009 -0500 | |
| +++ b/nose/plugins/doctests.py Wed Nov 11 20:57:51 2009 -0700 | |
| @@ -170,6 +170,11 @@ | |
| help="Find fixtures for a doctest file in module " | |
| "with this name appended to the base name " | |
| "of the doctest file") | |
| + parser.add_option('--doctest-options', action="append", | |
| + dest="doctestOptions", | |
| + metavar="OPTIONS", |