Backport fix for #269 that should fix cached-property tests
parent
996f96ba0b
commit
93a0af381c
@ -0,0 +1,26 @@
|
||||
From d584b65de98a886bfdb4c7747bcdddf9931e0fb3 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Anders=20Hovm=C3=B6ller?= <boxed@killingar.net>
|
||||
Date: Wed, 24 Oct 2018 11:19:11 +0200
|
||||
Subject: [PATCH] Ignore relevant parts of pytest by default
|
||||
|
||||
---
|
||||
freezegun/api.py | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/freezegun/api.py b/freezegun/api.py
|
||||
index 1bda951..e7aa199 100644
|
||||
--- a/freezegun/api.py
|
||||
+++ b/freezegun/api.py
|
||||
@@ -705,6 +705,9 @@ def freeze_time(time_to_freeze=None, tz_offset=0, ignore=None, tick=False, as_ar
|
||||
ignore.append('google.gax')
|
||||
ignore.append('threading')
|
||||
ignore.append('Queue')
|
||||
+ ignore.append('selenium')
|
||||
+ ignore.append('_pytest.terminal')
|
||||
+ ignore.append('_pytest.runner')
|
||||
return _freeze_time(time_to_freeze, tz_offset, ignore, tick, as_arg)
|
||||
|
||||
|
||||
--
|
||||
2.20.1
|
||||
|
Loading…
Reference in new issue