Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
python-future
python38-pow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python38-pow.patch of Package python-future
--- tests/test_past/test_builtins.py | 2 -- 1 file changed, 2 deletions(-) --- a/tests/test_past/test_builtins.py +++ b/tests/test_past/test_builtins.py @@ -1117,9 +1117,7 @@ class BuiltinTest(unittest.TestCase): else: self.assertAlmostEqual(pow(x, y, z), 24.0) - self.assertRaises(TypeError, pow, -1, -2, 3) self.assertRaises(ValueError, pow, 1, 2, 0) - self.assertRaises(TypeError, pow, -1, -2, 3) self.assertRaises(ValueError, pow, 1, 2, 0) # Will return complex in 3.0: self.assertRaises(ValueError, pow, -342.43, 0.234) --- a/tests/test_future/test_builtins.py +++ b/tests/test_future/test_builtins.py @@ -1305,7 +1305,6 @@ class BuiltinTest(unittest.TestCase): self.assertAlmostEqual(pow(-1, 1/3), 0.5 + 0.8660254037844386j) # Raises TypeError in Python < v3.5, ValueError in v3.5: - self.assertRaises((TypeError, ValueError), pow, -1, -2, 3) self.assertRaises(ValueError, pow, 1, 2, 0) self.assertRaises(TypeError, pow)
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