Browse Source

fix version constraint for Popen

pull/3/head
Brett Langdon 5 years ago
parent
commit
c44e711028
Signed by: brettlangdon GPG Key ID: A70042D88B95AA2B
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/test_audit.py

+ 2
- 2
tests/test_audit.py View File

@ -24,7 +24,7 @@ class AuditTest(unittest.TestCase):
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
)
if sys.version_info > (3, 5):
if sys.version_info >= (3, 6):
popen_kwargs["encoding"] = "utf-8"
p = subprocess.Popen(
@ -43,7 +43,7 @@ class AuditTest(unittest.TestCase):
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
)
if sys.version_info > (3, 5):
if sys.version_info >= (3, 6):
popen_kwargs["encoding"] = "utf-8"
p = subprocess.Popen(


Loading…
Cancel
Save