From eddb352ffe2694c49632186be7326f3c75fc3074 Mon Sep 17 00:00:00 2001 From: barneygale Date: Thu, 14 Dec 2023 07:45:00 +0000 Subject: [PATCH] Don't run ABC test units from `test_pathlib` --- Lib/test/test_pathlib/test_pathlib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/test/test_pathlib/test_pathlib.py b/Lib/test/test_pathlib/test_pathlib.py index be3d338d5af5f5..304786fc6f7fd9 100644 --- a/Lib/test/test_pathlib/test_pathlib.py +++ b/Lib/test/test_pathlib/test_pathlib.py @@ -15,7 +15,7 @@ from test.support import is_emscripten, is_wasi from test.support import os_helper from test.support.os_helper import TESTFN, FakePath -from test.test_pathlib.test_pathlib_abc import DummyPurePathTest, DummyPathTest +from test.test_pathlib import test_pathlib_abc try: import grp, pwd @@ -41,7 +41,7 @@ # Tests for the pure classes. # -class PurePathTest(DummyPurePathTest): +class PurePathTest(test_pathlib_abc.DummyPurePathTest): cls = pathlib.PurePath def test_constructor_nested(self): @@ -930,7 +930,7 @@ class cls(pathlib.PurePath): # Tests for the concrete classes. # -class PathTest(DummyPathTest, PurePathTest): +class PathTest(test_pathlib_abc.DummyPathTest, PurePathTest): """Tests for the FS-accessing functionalities of the Path classes.""" cls = pathlib.Path can_symlink = os_helper.can_symlink()