Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
python-argcomplete.13109
skip_tcsh_tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skip_tcsh_tests.patch of Package python-argcomplete.13109
diff -Nru argcomplete-1.9.2.orig/test/test.py argcomplete-1.9.2/test/test.py --- argcomplete-1.9.2.orig/test/test.py 2017-08-23 19:29:25.000000000 +0200 +++ argcomplete-1.9.2/test/test.py 2017-09-15 11:55:27.264394475 +0200 @@ -1149,30 +1149,30 @@ self.assertEqual(self.sh.run_command('python -m package.prog basic f\t'), 'foo\r\n') -class TestTcsh(_TestSh, unittest.TestCase): - expected_failures = [ - 'test_unquoted_space', - 'test_quoted_space', - 'test_continuation', - 'test_parse_special_characters', - 'test_parse_special_characters_dollar', - ] - - def setUp(self): - sh = Shell('tcsh') - path = ' '.join([os.path.join(BASE_DIR, 'scripts'), TEST_DIR, '$path']) - sh.run_command('set path = ({0})'.format(path)) - sh.run_command('setenv PYTHONPATH {0}'.format(BASE_DIR)) - output = sh.run_command('eval `register-python-argcomplete --shell tcsh prog`') - self.assertEqual(output, '') - self.sh = sh - - def tearDown(self): - # The shell wrapper is fragile; exactly which exception is raised - # differs depending on environment. - with self.assertRaises((pexpect.EOF, OSError)): - self.sh.run_command('exit') - self.sh.run_command('') +# class TestTcsh(_TestSh, unittest.TestCase): +# expected_failures = [ +# 'test_unquoted_space', +# 'test_quoted_space', +# 'test_continuation', +# 'test_parse_special_characters', +# 'test_parse_special_characters_dollar', +# ] + +# def setUp(self): +# sh = Shell('tcsh') +# path = ' '.join([os.path.join(BASE_DIR, 'scripts'), TEST_DIR, '$path']) +# sh.run_command('set path = ({0})'.format(path)) +# sh.run_command('setenv PYTHONPATH {0}'.format(BASE_DIR)) +# output = sh.run_command('eval `register-python-argcomplete --shell tcsh prog`') +# self.assertEqual(output, '') +# self.sh = sh + +# def tearDown(self): +# # The shell wrapper is fragile; exactly which exception is raised +# # differs depending on environment. +# with self.assertRaises((pexpect.EOF, OSError)): +# self.sh.run_command('exit') +# self.sh.run_command('') class Shell(object):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor