Show More
@@ -238,8 +238,8 b' def vcrcommand(name, flags, spec, helpca' | |||||
238 |
|
238 | |||
239 | def decorate(fn): |
|
239 | def decorate(fn): | |
240 | def inner(*args, **kwargs): |
|
240 | def inner(*args, **kwargs): | |
241 | cassette = pycompat.fsdecode(kwargs.pop('test_vcr', None)) |
|
241 | if kwargs.get('test_vcr'): | |
242 | if cassette: |
|
242 | cassette = pycompat.fsdecode(kwargs.pop('test_vcr')) | |
243 | import hgdemandimport |
|
243 | import hgdemandimport | |
244 |
|
244 | |||
245 | with hgdemandimport.deactivated(): |
|
245 | with hgdemandimport.deactivated(): |
General Comments 0
You need to be logged in to leave comments.
Login now