mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Remove RISCOS support
This commit is contained in:
parent
c5aba17447
commit
7a98be2efb
62 changed files with 106 additions and 3823 deletions
|
|
@ -509,7 +509,7 @@ def findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS):
|
|||
names = os.listdir(testdir)
|
||||
tests = []
|
||||
for name in names:
|
||||
if name[:5] == "test_" and name[-3:] == os.extsep+"py":
|
||||
if name[:5] == "test_" and name[-3:] == ".py":
|
||||
modname = name[:-3]
|
||||
if modname not in stdtests and modname not in nottests:
|
||||
tests.append(modname)
|
||||
|
|
@ -799,7 +799,7 @@ def findtestdir():
|
|||
return testdir
|
||||
|
||||
def removepy(name):
|
||||
if name.endswith(os.extsep + "py"):
|
||||
if name.endswith(".py"):
|
||||
name = name[:-3]
|
||||
return name
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue