« first day (2637 days earlier)      last day (2309 days later) » 
00:00 - 20:0020:00 - 00:00

8:00 PM
Haven't looked at it, but pytest-mock is probably hooking into PyTest so the mock is removed / reset after each test scope.
 
says it is a thin wrapper around built-in mock
 
DSM
FWIW I use pytest all the time but not pytest-mock, and I seem to get by.
 
good
thanks
Do you always write fixtures in pytest? I keep seeing fixtures being used almost all the time. But for the tests I'm writing, naturally, I just don't see where I want to use it yet
 
DSM
I've written a fair number, mostly when I want to mock away a data source or disable all network access or something. But if your functions tend to depend only on their arguments and not implicitly on something else, you'll need them a lot less.
 
Right. Yeah. I'm going to not overthink this and just go with it.
Funny....I would have been finished by now heheh.....but using something new...ouch
 
8:10 PM
I got a reply from Tim Peters! stackoverflow.com/questions/48100986/… I should frame it & hang it on my wall. :)
 
DSM
@PM2Ring: I'd laugh at you except I keep my own on my wall. ;-)
 
nice
 
@DSM What Andras said. I knew that json.loads is fast, and that ast.literal_eval has a reputation for being slow due to its overheads, but I didn't realise that the difference is that large.
 
why was json.load the only one with 100000 loops while the other was 10000. What made it special to get 10 times more attention. /s But still, must be nice to get a response from Tim Peters.
I think only the Ninja has ever praised me, so I guess that would be on my wall :D
 
8:26 PM
ipython's %timeit is smart
it does 1 run to see how much it roughly takes and chooses the number of iterations accordingly
oh, you were joking
 
8:39 PM
cabbage, folks
 
cabbage
 
@JGrindal Cabbage Potato.
 
@Simon Banana
 
@AndrasDeak =O I'm sorry AD. I Remember you saying something along the lines of it's difficult to tell when I'm joking or not. :\
 
jjj
@PM2Ring o.O you should! Thats some streetcred ;-)
 
9:00 PM
Man the storm in the Eastern side of America looks to be getting worst.... stay safe my fellow Southerns
 
stackoverflow.com/q/47963461 too broad / opinion (had a bounty before)
 
@JGrindal Good!
 
9:18 PM
David, you are finding some rather interesting questions :D
 
airport lounge cbg
 
cbg Antti.... all flights are canceled ?
 
I thought Finland had the opposite of a severe weather thing
 
9:34 PM
@AnttiHaapala +1
 
9:51 PM
I wonder if people left early because of the cold
 
 
1 hour later…
11:07 PM
 
11:25 PM
:D
 
: p
 
@MooingRawr pic from a Helsinki suburb yesterday
(and year ago)
 
Suffering from global warming?
 
insufficient data
 
11:41 PM
definitely
 
global warming doesn't kill winter in a year, and it doesn't lead to every single point on Earth getting warmier and warmer. But it does lead to gradually more erratic weather in Europe
 
and in the states
gulf stream pushing warmer...
 
for a definitive statement on whether it's global warming we'd need a Parallel Earth where everything is the same except no global warming (:P) and compare the two pairs of days :P
 
in the winter
 
11:42 PM
@AnttiHaapala right, but that's out of my personal experience :D
weather's been going nuts here for the past 10 years
 
... and the summers, whenever you got the 40, then we get the breeze straight from the pole... lol.
 
well you gotta have snow sometime :P
 
we do have in oulu
but I guess the helsinki snow went to florida?
 
it sure didn't come here
maybe in March or April
 
11:48 PM
ah, good old Coriolis
something tells me that one of those "anticyclones" should be "cyclones"
 
00:00 - 20:0020:00 - 00:00

« first day (2637 days earlier)      last day (2309 days later) »