forked from omniti-labs/omnios-build
-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3421 from citrus-it/pkgpython311
python311 - update from 3.11.6 to 3.11.7
- Loading branch information
Showing
13 changed files
with
96 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -wpruN --no-dereference '--exclude=*.orig' a~/Lib/test/test_email/test_utils.py a/Lib/test/test_email/test_utils.py | ||
--- a~/Lib/test/test_email/test_utils.py 1970-01-01 00:00:00 | ||
+++ a/Lib/test/test_email/test_utils.py 1970-01-01 00:00:00 | ||
@@ -145,6 +145,8 @@ class LocaltimeTests(unittest.TestCase): | ||
|
||
@unittest.skipUnless("Europe/Kyiv" in zoneinfo.available_timezones(), | ||
"Can't find a Kyiv timezone database") | ||
+ @unittest.skipIf(sys.platform.startswith("sunos"), | ||
+ "The Kyiv database on SunOS puts 1984 in EET") | ||
@test.support.run_with_tz('Europe/Kyiv') | ||
def test_variable_tzname(self): | ||
t0 = datetime.datetime(1984, 1, 1, tzinfo=datetime.timezone.utc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
diff -wpruN --no-dereference '--exclude=*.orig' a~/Lib/test/test_termios.py a/Lib/test/test_termios.py | ||
--- a~/Lib/test/test_termios.py 1970-01-01 00:00:00 | ||
+++ a/Lib/test/test_termios.py 1970-01-01 00:00:00 | ||
@@ -152,6 +152,8 @@ class TestFunctions(unittest.TestCase): | ||
self.assertRaises(TypeError, termios.tcflow, object(), termios.TCOON) | ||
self.assertRaises(TypeError, termios.tcflow, self.fd) | ||
|
||
+ @unittest.skipIf(sys.platform.startswith("sunos"), | ||
+ "TIOCGWINSZ returns EINVAL for terminals with no size") | ||
def test_tcgetwinsize(self): | ||
size = termios.tcgetwinsize(self.fd) | ||
self.assertIsInstance(size, tuple) | ||
@@ -160,6 +162,8 @@ class TestFunctions(unittest.TestCase): | ||
self.assertIsInstance(size[1], int) | ||
self.assertEqual(termios.tcgetwinsize(self.stream), size) | ||
|
||
+ @unittest.skipIf(sys.platform.startswith("sunos"), | ||
+ "TIOCGWINSZ returns EINVAL for terminals with no size") | ||
def test_tcgetwinsize_errors(self): | ||
self.assertRaisesTermiosError(errno.ENOTTY, termios.tcgetwinsize, self.bad_fd) | ||
self.assertRaises(ValueError, termios.tcgetwinsize, -1) | ||
@@ -167,12 +171,16 @@ class TestFunctions(unittest.TestCase): | ||
self.assertRaises(TypeError, termios.tcgetwinsize, object()) | ||
self.assertRaises(TypeError, termios.tcgetwinsize) | ||
|
||
+ @unittest.skipIf(sys.platform.startswith("sunos"), | ||
+ "TIOCGWINSZ returns EINVAL for terminals with no size") | ||
def test_tcsetwinsize(self): | ||
size = termios.tcgetwinsize(self.fd) | ||
termios.tcsetwinsize(self.fd, size) | ||
termios.tcsetwinsize(self.fd, list(size)) | ||
termios.tcsetwinsize(self.stream, size) | ||
|
||
+ @unittest.skipIf(sys.platform.startswith("sunos"), | ||
+ "TIOCGWINSZ returns EINVAL for terminals with no size") | ||
def test_tcsetwinsize_errors(self): | ||
size = termios.tcgetwinsize(self.fd) | ||
self.assertRaises(TypeError, termios.tcsetwinsize, self.fd, size[:-1]) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
448 tests OK. | ||
== Tests result: FAILURE == | ||
|
||
22 tests skipped: | ||
test.test_asyncio.test_windows_events | ||
test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace | ||
test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full | ||
test.test_gdb.test_misc test.test_gdb.test_pretty_print | ||
test_dbm_gnu test_epoll test_idle test_kqueue test_launcher | ||
test_msilib test_startfile test_tcl test_tix test_tk | ||
test_ttk_guionly test_ttk_textonly test_turtle test_winconsoleio | ||
test_winreg | ||
|
||
8 tests skipped (resource denied): | ||
test_ossaudiodev test_smtpnet test_socketserver test_urllib2net | ||
test_urllibnet test_winsound test_xmlrpc_net test_zipfile64 | ||
|
||
4 tests failed: | ||
test_compileall test_dtrace test_import test_importlib | ||
|
||
26 tests skipped: | ||
test.test_asyncio.test_windows_events | ||
test.test_asyncio.test_windows_utils test_dbm_gnu test_epoll | ||
test_gdb test_idle test_kqueue test_launcher test_msilib | ||
test_ossaudiodev test_smtpnet test_socketserver test_startfile | ||
test_tcl test_tix test_tk test_ttk_guionly test_ttk_textonly | ||
test_turtle test_urllib2net test_urllibnet test_winconsoleio | ||
test_winreg test_winsound test_xmlrpc_net test_zipfile64 | ||
450 tests OK. | ||
|
||
Total tests: run=39,619 failures=26 skipped=1,402 | ||
Total test files: success=448 failed=4 skipped=26 resource_denied=8 | ||
Total tests: run=39,761 (filtered) failures=26 skipped=1,408 | ||
Total test files: run=476/484 (filtered) failed=4 skipped=22 resource_denied=8 | ||
Result: FAILURE | ||
make: *** [Makefile:1814: test] Error 2 | ||
make: *** [Makefile:1815: test] Error 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters