Skip to content

Commit 54ca3c0

Browse files
authored
Merge pull request pytest-dev#123 from jonathansp/master
add PYTEST_DONT_REWRITE in order to suppress module already imported
2 parents f41215f + ace8344 commit 54ca3c0

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎pytest-listener/pytest_listener.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""pytest: avoid already-imported warning: PYTEST_DONT_REWRITE."""
2+
13
import collections
24
import json
35
import logging

‎pytest-profiling/pytest_profiling.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""pytest: avoid already-imported warning: PYTEST_DONT_REWRITE."""
2+
13
from __future__ import absolute_import
24

35
import sys

‎pytest-webdriver/pytest_webdriver.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""pytest: avoid already-imported warning: PYTEST_DONT_REWRITE."""
2+
13
import os
24
import traceback
35
import logging

0 commit comments

Comments
 (0)