Skip to content

Commit

Permalink
Don't run ABC test units from test_pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
barneygale committed Dec 14, 2023
1 parent a85a5da commit eddb352
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/test/test_pathlib/test_pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit eddb352

Please sign in to comment.