From 6e748147b603875755eb9d2e56b6658a7157d518 Mon Sep 17 00:00:00 2001 From: Eric Seppanen Date: Tue, 11 May 2021 00:04:52 -0700 Subject: [PATCH] test_runner: fix relative import syntax Somehow I never learned this part correctly: relative imports use the syntax "import .file" for a file sitting in the same directory. This error wasn't terribly obvious, but the Pylance linter is yelling at me so I'll fix it now before anyone else notices. --- test_runner/fixtures/zenith_fixtures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_runner/fixtures/zenith_fixtures.py b/test_runner/fixtures/zenith_fixtures.py index c4534f4eb2..0ff698ecf4 100644 --- a/test_runner/fixtures/zenith_fixtures.py +++ b/test_runner/fixtures/zenith_fixtures.py @@ -3,8 +3,8 @@ import pytest import shutil import subprocess import sys -from fixtures.utils import (get_self_dir, mkdir_if_needed, - subprocess_capture, global_counter) +from .utils import (get_self_dir, mkdir_if_needed, + subprocess_capture, global_counter) """ This file contains pytest fixtures. A fixture is a test resource that can be