You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-freezegun/0001-Ignore-relevant-parts-...

27 lines
814 B

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