File: 0002-Fix-import-of-trio._tests.patch

package info (click to toggle)
python-pytest-trio 0.8.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 464 kB
  • sloc: python: 944; sh: 49; makefile: 20
file content (20 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Tue, 11 Jul 2023 12:30:08 +0000
Subject: Fix import of trio._tests.

---
 pytest_trio/_tests/test_hypothesis_interaction.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pytest_trio/_tests/test_hypothesis_interaction.py b/pytest_trio/_tests/test_hypothesis_interaction.py
index 75aa9f7..40c51b1 100644
--- a/pytest_trio/_tests/test_hypothesis_interaction.py
+++ b/pytest_trio/_tests/test_hypothesis_interaction.py
@@ -1,6 +1,6 @@
 import pytest
 import trio
-from trio.tests.test_scheduler_determinism import (
+from trio._tests.test_scheduler_determinism import (
     scheduler_trace,
     test_the_trio_scheduler_is_not_deterministic,
     test_the_trio_scheduler_is_deterministic_if_seeded,