mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 21:42:56 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user