testing: remove a few redundant py references

This commit is contained in:
Ran Benita
2021-10-16 02:50:05 +03:00
parent 5fc7b21391
commit bc2f20722c
2 changed files with 3 additions and 4 deletions

View File

@@ -1379,8 +1379,7 @@ def test_capturing_and_logging_fundamentals(pytester: Pytester, method: str) ->
# here we check a fundamental feature
p = pytester.makepyfile(
"""
import sys, os
import py, logging
import sys, os, logging
from _pytest import capture
cap = capture.MultiCapture(
in_=None,