From b6a38368d9e92cab1b81f9c332bd99d9163e1570 Mon Sep 17 00:00:00 2001 From: George Darkwah <61522557+gdarkwah@users.noreply.github.com> Date: Sat, 18 May 2024 16:00:03 -0500 Subject: [PATCH] Update structure.rst if the test file is in the same folder as the `context.py`, then there is no need for the preceding dot when importing context --- docs/writing/structure.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/writing/structure.rst b/docs/writing/structure.rst index 5d9645acd..62d340df6 100644 --- a/docs/writing/structure.rst +++ b/docs/writing/structure.rst @@ -225,7 +225,7 @@ Then, within the individual test modules, import the module like so: :: - from .context import sample + from context import sample This will always work as expected, regardless of installation method.