Devin Bayer <d...@doubly.so> added the comment:

That seems like it makes the most sense, though I would suggest a higher-level 
test, because caching of bytecode is an implementation detail. So, while 
mocking time.time to be constant:

1. write dummy module with x=1
2. import dummy
3. overwrite dummy module with x=2
4. reload(dummy)
5. assert dummy.x == 2

BTW Brett, I didn't think it was personal; that would be odd considering you 
don't know me. But from a new contributor's perspective it didn't look like you 
are taking bugs seriously. If you had pointed out that you will reopen it if I 
made a good case, that would be been more clear.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to