Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mark newly failing tests
  • Loading branch information
youknowone committed Feb 25, 2023
commit 75aefb89fdc3b6ebfaf59048167fdb757ae9ddd5
4 changes: 4 additions & 0 deletions Lib/test/test_syslog.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ def test_setlogmask(self):
self.assertEqual(syslog.setlogmask(0), mask)
self.assertEqual(syslog.setlogmask(oldmask), mask)

# TODO: RUSTPYTHON; AssertionError: 12 is not false
@unittest.expectedFailure
def test_log_mask(self):
mask = syslog.LOG_UPTO(syslog.LOG_WARNING)
self.assertTrue(mask & syslog.LOG_MASK(syslog.LOG_WARNING))
Expand All @@ -53,6 +55,8 @@ def test_openlog_noargs(self):
syslog.openlog()
syslog.syslog('test message from python test_syslog')

# TODO: RUSTPYTHON; AttributeError: module 'sys' has no attribute 'getswitchinterval'
@unittest.expectedFailure
@threading_helper.requires_working_threading()
def test_syslog_threaded(self):
start = threading.Event()
Expand Down