summaryrefslogtreecommitdiff
path: root/Lib/test/test_regrtest.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-23 23:04:18 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-09-23 23:04:18 +0200
commit7b92abf0e972158d20585cc7ef5c72aec56811cd (patch)
tree8d5270efad97b6c064be578405f23148dfdf4986 /Lib/test/test_regrtest.py
parentb2080f65544093c8f07b4ecc43fe035aeb08c8f0 (diff)
downloadcpython-git-7b92abf0e972158d20585cc7ef5c72aec56811cd.tar.gz
Issue #25220: Create Lib/test/libregrtest/
Start to split regrtest.py into smaller parts with the creation of Lib/test/libregrtest/cmdline.py.
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r--Lib/test/test_regrtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
index a398a4f836..cf4b84fe19 100644
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -7,7 +7,7 @@ import faulthandler
import getopt
import os.path
import unittest
-from test import regrtest, support
+from test import regrtest, support, libregrtest
class ParseArgsTestCase(unittest.TestCase):
@@ -148,7 +148,7 @@ class ParseArgsTestCase(unittest.TestCase):
self.assertEqual(ns.use_resources, ['gui', 'network'])
ns = regrtest._parse_args([opt, 'gui,none,network'])
self.assertEqual(ns.use_resources, ['network'])
- expected = list(regrtest.RESOURCE_NAMES)
+ expected = list(libregrtest.RESOURCE_NAMES)
expected.remove('gui')
ns = regrtest._parse_args([opt, 'all,-gui'])
self.assertEqual(ns.use_resources, expected)