From 066a02c69f202b84f6aa110bdb3837df34efa8c7 Mon Sep 17 00:00:00 2001 From: Eugene Kalinin Date: Tue, 28 May 2024 21:24:46 +0300 Subject: [PATCH] Fix tests after #342 (#354) * fix tests after #342 * add coverage files into gitignore --- .gitignore | 1 + tests/nodeenv_test.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e10547b..26c0261 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .coverage +.coverage.* *.pyc *.pyo *.swp diff --git a/tests/nodeenv_test.py b/tests/nodeenv_test.py index 22dd5eb..302e373 100644 --- a/tests/nodeenv_test.py +++ b/tests/nodeenv_test.py @@ -1,11 +1,12 @@ from __future__ import absolute_import from __future__ import unicode_literals -import os.path +import sys if sys.version_info < (3, 3): from pipes import quote as _quote else: from shlex import quote as _quote +import os.path import subprocess import sys import sysconfig